# HG changeset patch # User Christian Kamm # Date 1243062156 -7200 # Node ID 303e6422f785c62a5890c772bc975fea6020c7a9 # Parent f9285cf14c0d77519f07edbbdcecc735c9136811 Fix regression dstress.nocompile.finally_07. The EnclosingTryFinally handler should not be set when emitting the landing pad's finally code. diff -r f9285cf14c0d -r 303e6422f785 gen/statements.cpp --- a/gen/statements.cpp Sat May 23 00:26:38 2009 +0200 +++ b/gen/statements.cpp Sat May 23 09:02:36 2009 +0200 @@ -592,9 +592,9 @@ p->scope() = IRScope(landingpadbb, endbb); assert(finalbody); - gIR->func()->targetScopes.push_back(IRTargetScope(this,new EnclosingTryFinally(this,gIR->func()->landingPad),NULL,NULL)); gIR->func()->landingPadInfo.addFinally(finalbody); gIR->func()->landingPadInfo.push(landingpadbb); + gIR->func()->targetScopes.push_back(IRTargetScope(this,new EnclosingTryFinally(this,gIR->func()->landingPad),NULL,NULL)); gIR->func()->landingPad = gIR->func()->landingPadInfo.get(); //