mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-10 00:43:13 +01:00
Fix IRLandingPadCatchInfo initialization order warning.
This commit is contained in:
committed by
Kai Nacke
parent
e36385214c
commit
55c02f725a
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user