English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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.
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