diff --git a/ir/irlandingpad.cpp b/ir/irlandingpad.cpp index ac3f6077..f2d254c1 100644 --- a/ir/irlandingpad.cpp +++ b/ir/irlandingpad.cpp @@ -27,7 +27,7 @@ static llvm::LandingPadInst *createLandingPadInst() } IRLandingPadCatchInfo::IRLandingPadCatchInfo(Catch* catchstmt_, llvm::BasicBlock* end_) : - catchStmt(catchstmt_), end(end_) + end(end_), catchStmt(catchstmt_) { target = llvm::BasicBlock::Create(gIR->context(), "catch", gIR->topfunc(), end);