Fix IRLandingPadCatchInfo initialization order warning.

This commit is contained in:
David Nadlinger
2013-10-20 02:06:03 +02:00
committed by Kai Nacke
parent e36385214c
commit 55c02f725a

View File

@@ -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);