projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add the new builder arthmetic instructions to llvm-c and ocaml.
[oota-llvm.git]
/
lib
/
MC
/
MCInst.cpp
diff --git
a/lib/MC/MCInst.cpp
b/lib/MC/MCInst.cpp
index 7c7a6447736c507e80c08f1a04bd8f0db69261d1..0634c9faf6fad26e2db09ae964a4858e00d0bec6 100644
(file)
--- a/
lib/MC/MCInst.cpp
+++ b/
lib/MC/MCInst.cpp
@@
-23,9
+23,7
@@
void MCOperand::print(raw_ostream &OS, const MCAsmInfo *MAI) const {
else if (isImm())
OS << "Imm:" << getImm();
else if (isExpr()) {
- OS << "Expr:(";
- getExpr()->print(OS, MAI);
- OS << ")";
+ OS << "Expr:(" << *getExpr() << ")";
} else
OS << "UNDEFINED";
OS << ">";