From 5c8697488ad6d860c448b6e7bed80dec8c90b585 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 26 Jan 2010 23:26:29 +0000 Subject: [PATCH] remove a noop function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94616 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/MachineModuleInfo.h | 4 ---- lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 3 --- 2 files changed, 7 deletions(-) diff --git a/include/llvm/CodeGen/MachineModuleInfo.h b/include/llvm/CodeGen/MachineModuleInfo.h index d36502985a5..d2bd0f1a881 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 6adc36c9b00..e7a0867f98e 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); -- 2.34.1