[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
Jim Laskey
jlaskey at apple.com
Thu Mar 23 10:09:57 PST 2006
Changes in directory llvm/lib/Target/PowerPC:
PPCAsmPrinter.cpp updated: 1.160 -> 1.161
---
Log message:
Change interface to DwarfWriter.
---
Diffs of the changes: (+4 -4)
PPCAsmPrinter.cpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Index: llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
diff -u llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.160 llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.161
--- llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.160 Tue Mar 21 23:26:03 2006
+++ llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp Thu Mar 23 12:09:44 2006
@@ -507,7 +507,7 @@
O << "\n\n";
// Emit pre-function debug information.
- DW.BeginFunction(MF);
+ DW.BeginFunction(&MF);
// Print out constants referenced by the function
EmitConstantPool(MF.getConstantPool());
@@ -554,7 +554,7 @@
}
// Emit post-function debug information.
- DW.EndFunction(MF);
+ DW.EndFunction();
// We didn't modify anything.
return false;
@@ -570,7 +570,7 @@
Mang->setUseQuotes(true);
// Emit initial debug information.
- DW.BeginModule(M);
+ DW.BeginModule(&M);
return false;
}
@@ -694,7 +694,7 @@
}
// Emit initial debug information.
- DW.EndModule(M);
+ DW.EndModule();
// Funny Darwin hack: This flag tells the linker that no global symbols
// contain code that falls through to other global symbols (e.g. the obvious
More information about the llvm-commits
mailing list