aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PowerPC
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-03 22:28:33 +0000
committerChris Lattner <sabre@nondot.org>2010-04-03 22:28:33 +0000
commit0c08d092049c025c9ccf7143e39f39dc4e30d6b4 (patch)
tree1e27df0eddebd915eb0b8f96e38bedf3c03879ee /lib/Target/PowerPC
parentfd60b8b4842c04e272a5cbdd404ed88d63d6df61 (diff)
downloadexternal_llvm-0c08d092049c025c9ccf7143e39f39dc4e30d6b4.zip
external_llvm-0c08d092049c025c9ccf7143e39f39dc4e30d6b4.tar.gz
external_llvm-0c08d092049c025c9ccf7143e39f39dc4e30d6b4.tar.bz2
asmstreamerize the .size directive for function bodies, force clients
of printOffset to pass in a stream to print to. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100296 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC')
-rw-r--r--lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp b/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp
index 5adefd3..7523b6a 100644
--- a/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp
+++ b/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp
@@ -446,7 +446,7 @@ void PPCAsmPrinter::printOp(const MachineOperand &MO) {
O << *SymToPrint;
- printOffset(MO.getOffset());
+ printOffset(MO.getOffset(), O);
return;
}