Version française
Home     About     Download     Resources     Contact us    
Browse thread
break and continue v2
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Sanghyeon Seo <sanxiyn@g...>
Subject: break and continue v2
This is the revision of break/continue patch I sent.
http://sparcs.kaist.ac.kr/~tinuviel/devel/ocaml/

This patch no longer modifies lambda code, and uses static exception
instead. bytegen is restored, and break/continue target stack is moved
to translcore.

simplify_exits is modified to track whether exit is in tail position.
It no longer replaces exit with handler when exit is not in tail
position. This is done with two hash tables; I'd like to hear
suggestions for better implementation.

-- 
Seo Sanghyeon