[llvm-commits] [llvm] r66611 - /llvm/trunk/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
Bill Wendling
isanbard at gmail.com
Tue Mar 10 17:03:50 PDT 2009
Author: void
Date: Tue Mar 10 19:03:50 2009
New Revision: 66611
URL: http://llvm.org/viewvc/llvm-project?rev=66611&view=rev
Log:
Put the assignment back at the top of this method.
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfWriter.cpp?rev=66611&r1=66610&r2=66611&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfWriter.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfWriter.cpp Tue Mar 10 19:03:50 2009
@@ -3135,13 +3135,13 @@
/// BeginFunction - Gather pre-function debug information. Assumes being
/// emitted immediately after the function entry point.
void BeginFunction(MachineFunction *MF) {
+ this->MF = MF;
+
if (!ShouldEmitDwarfDebug()) return;
if (TimePassesIsEnabled)
DebugTimer->startTimer();
- this->MF = MF;
-
// Begin accumulating function debug information.
MMI->BeginFunction(MF);
More information about the llvm-commits
mailing list