X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=include%2Fllvm%2FCodeGen%2FMachineModuleInfo.h;h=8cc5d6f242f0880fb27e5810a601a8e1a571ffeb;hp=70a771ee368f72a1641111b255a39e12d8cbc52d;hb=a03aa8f8e72231673a35b6df5c42690630e2d186;hpb=c839e943d0bd5ad7cba913bb5892341cb149eb95 diff --git a/include/llvm/CodeGen/MachineModuleInfo.h b/include/llvm/CodeGen/MachineModuleInfo.h index 70a771ee368..8cc5d6f242f 100644 --- a/include/llvm/CodeGen/MachineModuleInfo.h +++ b/include/llvm/CodeGen/MachineModuleInfo.h @@ -220,10 +220,9 @@ public: void setModule(const Module *M) { TheModule = M; } const Module *getModule() const { return TheModule; } - const Function *getWinEHParent(const Function *F) const; WinEHFuncInfo &getWinEHFuncInfo(const Function *F); bool hasWinEHFuncInfo(const Function *F) const { - return FuncInfoMap.count(getWinEHParent(F)) > 0; + return FuncInfoMap.count(F) > 0; } /// getInfo - Keep track of various per-function pieces of information for