remove a noop function.
authorChris Lattner <sabre@nondot.org>
Tue, 26 Jan 2010 23:26:29 +0000 (23:26 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 26 Jan 2010 23:26:29 +0000 (23:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94616 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/MachineModuleInfo.h
lib/CodeGen/AsmPrinter/DwarfDebug.cpp

index d36502985a59f4475d98f5ed7dbe35962a23297a..d2bd0f1a881aa72f81afe1121b44882f29338a08 100644 (file)
@@ -157,10 +157,6 @@ public:
   bool doInitialization();
   bool doFinalization();
 
-  /// BeginFunction - Begin gathering function meta information.
-  ///
-  void BeginFunction(MachineFunction *) {}
-  
   /// EndFunction - Discard function meta information.
   ///
   void EndFunction();
index 6adc36c9b009d3a9d0b63cdeee6df1e2691eabe6..e7a0867f98efb8a540d183e5072ffbdc79fb1682 100644 (file)
@@ -2100,9 +2100,6 @@ void DwarfDebug::beginFunction(const MachineFunction *MF) {
 
   collectVariableInfo();
 
-  // Begin accumulating function debug information.
-  MMI->BeginFunction((MachineFunction*)MF);
-
   // Assumes in correct section after the entry point.
   EmitLabel("func_begin", ++SubprogramCount);