[WinEH] Remove more dead code
[oota-llvm.git] / include / llvm / CodeGen / MachineModuleInfo.h
index 70a771ee368f72a1641111b255a39e12d8cbc52d..8cc5d6f242f0880fb27e5810a601a8e1a571ffeb 100644 (file)
@@ -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