aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCAsmPrinter.cpp
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2006-03-23 18:09:44 +0000
committerJim Laskey <jlaskey@mac.com>2006-03-23 18:09:44 +0000
commit99db0442f03f75aa36b560a7f4327bfa992ac15c (patch)
tree9a5c0cd0088cf4d7f64d0ade946351c096f59245 /lib/Target/PowerPC/PPCAsmPrinter.cpp
parent580418e0821e6ef28d7a0027cd8fcd1aefb6e847 (diff)
Change interface to DwarfWriter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26991 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCAsmPrinter.cpp')
-rw-r--r--lib/Target/PowerPC/PPCAsmPrinter.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Target/PowerPC/PPCAsmPrinter.cpp b/lib/Target/PowerPC/PPCAsmPrinter.cpp
index 6fb6e5fd1e..8b3ae47b4b 100644
--- a/lib/Target/PowerPC/PPCAsmPrinter.cpp
+++ b/lib/Target/PowerPC/PPCAsmPrinter.cpp
@@ -507,7 +507,7 @@ bool DarwinAsmPrinter::runOnMachineFunction(MachineFunction &MF) {
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 @@ bool DarwinAsmPrinter::runOnMachineFunction(MachineFunction &MF) {
}
// Emit post-function debug information.
- DW.EndFunction(MF);
+ DW.EndFunction();
// We didn't modify anything.
return false;
@@ -570,7 +570,7 @@ bool DarwinAsmPrinter::doInitialization(Module &M) {
Mang->setUseQuotes(true);
// Emit initial debug information.
- DW.BeginModule(M);
+ DW.BeginModule(&M);
return false;
}
@@ -694,7 +694,7 @@ bool DarwinAsmPrinter::doFinalization(Module &M) {
}
// 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