mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-18 05:43:14 +01:00
[svn r353] Fix typo. (fixes empty catch handlers, like catch_02.d)
This commit is contained in:
@@ -23,7 +23,7 @@ IRLandingPadInfo::IRLandingPadInfo(Catch* catchstmt, llvm::BasicBlock* end)
|
||||
|
||||
// emit handler, if there is one
|
||||
// handler is zero for instance for 'catch { debug foo(); }'
|
||||
if(catchstmt->handler);
|
||||
if(catchstmt->handler)
|
||||
catchstmt->handler->toIR(gIR);
|
||||
|
||||
if (!gIR->scopereturned())
|
||||
|
||||
Reference in New Issue
Block a user