diff options
Diffstat (limited to 'include/llvm/CodeGen/MachineModuleInfo.h')
-rw-r--r-- | include/llvm/CodeGen/MachineModuleInfo.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/MachineModuleInfo.h b/include/llvm/CodeGen/MachineModuleInfo.h index 778b75c899..bb79c19ff7 100644 --- a/include/llvm/CodeGen/MachineModuleInfo.h +++ b/include/llvm/CodeGen/MachineModuleInfo.h @@ -966,7 +966,6 @@ struct LandingPadInfo { : LandingPadBlock(MBB) , LandingPadLabel(0) , Personality(NULL) - , TypeIds(1, 0) // Always have cleanups {} }; @@ -1239,6 +1238,10 @@ public: void addFilterTypeInfo(MachineBasicBlock *LandingPad, std::vector<GlobalVariable *> &TyInfo); + /// addCleanup - Add a cleanup action for a landing pad. + /// + void addCleanup(MachineBasicBlock *LandingPad); + /// getTypeIDFor - Return the type id for the specified typeinfo. This is /// function wide. unsigned getTypeIDFor(GlobalVariable *TI); |