[svn r353] Fix typo. (fixes empty catch handlers, like catch_02.d)

This commit is contained in:
Christian Kamm
2008-07-11 22:33:21 +02:00
parent 485b638272
commit f5dbc0e0d2

View File

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