Mercurial > projects > ldc
diff gen/asmstmt.cpp @ 1160:7d28dcbff23e
Reenable error for gotos into or out of finally blocks.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sat, 28 Mar 2009 19:16:53 +0100 |
parents | f99a3b393c03 |
children | 15e9762bb620 |
line wrap: on
line diff
--- a/gen/asmstmt.cpp Sat Mar 28 14:39:16 2009 +0100 +++ b/gen/asmstmt.cpp Sat Mar 28 19:16:53 2009 +0100 @@ -772,7 +772,7 @@ sw->addCase(llvm::ConstantInt::get(llvm::IntegerType::get(32), it->second), casebb); p->scope() = IRScope(casebb,bb); - DtoGoto(loc, it->first); + DtoGoto(loc, it->first, enclosingFinally); } p->scope() = IRScope(bb,oldend);