From 55c02f725a479a5768280e1d503e831a393de25c Mon Sep 17 00:00:00 2001 From: David Nadlinger Date: Sun, 20 Oct 2013 02:06:03 +0200 Subject: [PATCH] Fix IRLandingPadCatchInfo initialization order warning. --- ir/irlandingpad.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);