diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-26 23:26:29 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-26 23:26:29 +0000 |
commit | 5c8697488ad6d860c448b6e7bed80dec8c90b585 (patch) | |
tree | 5a363a20c5cb1fdb62ea0c420a28f8f63c1de85a | |
parent | 43cda021d9425f53443b3d56bcf81afe99353ee9 (diff) |
remove a noop function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94616 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/CodeGen/MachineModuleInfo.h | 4 | ||||
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 3 |
2 files changed, 0 insertions, 7 deletions
diff --git a/include/llvm/CodeGen/MachineModuleInfo.h b/include/llvm/CodeGen/MachineModuleInfo.h index d36502985a..d2bd0f1a88 100644 --- a/include/llvm/CodeGen/MachineModuleInfo.h +++ b/include/llvm/CodeGen/MachineModuleInfo.h @@ -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(); diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 6adc36c9b0..e7a0867f98 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -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); |