summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-26 23:26:29 +0000
committerChris Lattner <sabre@nondot.org>2010-01-26 23:26:29 +0000
commit56e9b5975d0865cd01c51588cf5a8557b84239eb (patch)
tree4e21ad78deb92a345adaaeed391786b6e56dc002
parent02346282843c7682c24e661e5100cffa3def186b (diff)
downloadbcm5719-llvm-56e9b5975d0865cd01c51588cf5a8557b84239eb.tar.gz
bcm5719-llvm-56e9b5975d0865cd01c51588cf5a8557b84239eb.zip
remove a noop function.
llvm-svn: 94616
-rw-r--r--llvm/include/llvm/CodeGen/MachineModuleInfo.h4
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp3
2 files changed, 0 insertions, 7 deletions
diff --git a/llvm/include/llvm/CodeGen/MachineModuleInfo.h b/llvm/include/llvm/CodeGen/MachineModuleInfo.h
index d36502985a5..d2bd0f1a881 100644
--- a/llvm/include/llvm/CodeGen/MachineModuleInfo.h
+++ b/llvm/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/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index 6adc36c9b00..e7a0867f98e 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/llvm/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);
OpenPOWER on IntegriCloud