Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: 2008-04-12 (23:50)
From: Sanghyeon Seo <sanxiyn@g...>
Subject: break and continue v2
This is the revision of break/continue patch I sent.

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