comparison ir/irfunction.h @ 319:e9c93739bc4c trunk

[svn r340] Rework exception handling to work with nested tryfinally and trycatch.
author ChristianK
date Sat, 05 Jul 2008 10:22:56 +0200
parents d59c363fccad
children a7a26f538d6e
comparison
equal deleted inserted replaced
318:8e570dbe4087 319:e9c93739bc4c
1 #ifndef LLVMDC_IR_IRFUNCTION_H 1 #ifndef LLVMDC_IR_IRFUNCTION_H
2 #define LLVMDC_IR_IRFUNCTION_H 2 #define LLVMDC_IR_IRFUNCTION_H
3 3
4 #include "ir/ir.h" 4 #include "ir/ir.h"
5 #include "ir/irlandingpad.h"
5 6
6 #include <vector> 7 #include <vector>
7 8
8 // represents a function 9 // represents a function
9 struct IrFunction : IrBase 10 struct IrFunction : IrBase
23 llvm::Constant* dwarfSubProg; 24 llvm::Constant* dwarfSubProg;
24 25
25 llvm::AllocaInst* srcfileArg; 26 llvm::AllocaInst* srcfileArg;
26 llvm::AllocaInst* msgArg; 27 llvm::AllocaInst* msgArg;
27 28
29 // landing pads for try statements
30 IRLandingPad landingPad;
31
28 IrFunction(FuncDeclaration* fd); 32 IrFunction(FuncDeclaration* fd);
29 }; 33 };
30 34
31 #endif 35 #endif