summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-18 00:37:40 +0000
committerChris Lattner <sabre@nondot.org>2010-01-18 00:37:40 +0000
commitc8f7717808df07c096107cb397a91e0772bca028 (patch)
tree821c507e5c81b993a84883aa5cd7e6461b686417 /llvm/lib/Target/ARM
parentfae53f0c61224864bb8f5a3815d1b4317b1ddf5c (diff)
downloadbcm5719-llvm-c8f7717808df07c096107cb397a91e0772bca028.tar.gz
bcm5719-llvm-c8f7717808df07c096107cb397a91e0772bca028.zip
remove the MAI argument to MCExpr::print and switch overthing to use << when printing them.
llvm-svn: 93699
Diffstat (limited to 'llvm/lib/Target/ARM')
-rw-r--r--llvm/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp b/llvm/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp
index 9fc57e0de59..6885ecb25d4 100644
--- a/llvm/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp
+++ b/llvm/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp
@@ -62,7 +62,7 @@ void ARMInstPrinter::printOperand(const MCInst *MI, unsigned OpNo,
} else {
assert((Modifier == 0 || Modifier[0] == 0) && "No modifiers supported");
assert(Op.isExpr() && "unknown operand kind in printOperand");
- Op.getExpr()->print(O, &MAI);
+ O << *Op.getExpr();
}
}
OpenPOWER on IntegriCloud