summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/InstPrinter
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2015-06-09 00:31:39 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2015-06-09 00:31:39 +0000
commit8b643559d46a03cba2617d3d60aa89f257ca0357 (patch)
tree727df1b429b98230b44eb792aa161bff0f96cdea /llvm/lib/Target/PowerPC/InstPrinter
parent003c2e937bcf85d834e3867268536091ee65042b (diff)
downloadbcm5719-llvm-8b643559d46a03cba2617d3d60aa89f257ca0357.tar.gz
bcm5719-llvm-8b643559d46a03cba2617d3d60aa89f257ca0357.zip
MC: Add target hook to control symbol quoting
llvm-svn: 239370
Diffstat (limited to 'llvm/lib/Target/PowerPC/InstPrinter')
-rw-r--r--llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp b/llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp
index 1a130e87bf3..5e1d2278905 100644
--- a/llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp
+++ b/llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp
@@ -445,6 +445,6 @@ void PPCInstPrinter::printOperand(const MCInst *MI, unsigned OpNo,
}
assert(Op.isExpr() && "unknown operand kind in printOperand");
- O << *Op.getExpr();
+ Op.getExpr()->print(O, &MAI);
}
OpenPOWER on IntegriCloud