mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-26 08:33:14 +01:00
[svn r340] Rework exception handling to work with nested tryfinally and trycatch.
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#define LLVMDC_IR_IRFUNCTION_H
|
||||
|
||||
#include "ir/ir.h"
|
||||
#include "ir/irlandingpad.h"
|
||||
|
||||
#include <vector>
|
||||
|
||||
@@ -25,6 +26,9 @@ struct IrFunction : IrBase
|
||||
llvm::AllocaInst* srcfileArg;
|
||||
llvm::AllocaInst* msgArg;
|
||||
|
||||
// landing pads for try statements
|
||||
IRLandingPad landingPad;
|
||||
|
||||
IrFunction(FuncDeclaration* fd);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user