[svn r340] Rework exception handling to work with nested tryfinally and trycatch.

This commit is contained in:
Christian Kamm
2008-07-05 10:22:56 +02:00
parent 4fc93770a9
commit ce79feeb9b
6 changed files with 295 additions and 136 deletions

View File

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