IRGen for break/continue.

Swift SVN r2089
This commit is contained in:
Eli Friedman
2012-05-31 02:45:18 +00:00
parent c404598fcb
commit 26bebcfd61
13 changed files with 234 additions and 49 deletions

View File

@@ -663,7 +663,7 @@ static void popAndEmitTopCleanup(IRGenFunction &IGF,
/// Remove all the dead cleanups on the top of the cleanup stack.
static void popAndEmitTopDeadCleanups(IRGenFunction &IGF,
DiverseStackImpl<Cleanup> &stack,
IRGenFunction::CleanupsDepth end) {
CleanupsDepth end) {
stack.checkIterator(end);
while (stack.stable_begin() != end && stack.begin()->isDead()) {