OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e1a49a
)
Teach MCOperand::print how to print FPImm operands.
author
Dan Gohman
<dan433584@gmail.com>
Mon, 21 Dec 2015 16:47:10 +0000
(16:47 +0000)
committer
Dan Gohman
<dan433584@gmail.com>
Mon, 21 Dec 2015 16:47:10 +0000
(16:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256163
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/MC/MCInst.cpp
patch
|
blob
|
history
diff --git
a/lib/MC/MCInst.cpp
b/lib/MC/MCInst.cpp
index
7ef69be
..
5f829ae
100644
(file)
--- a/
lib/MC/MCInst.cpp
+++ b/
lib/MC/MCInst.cpp
@@
-23,6
+23,8
@@
void MCOperand::print(raw_ostream &OS) const {
OS << "Reg:" << getReg();
else if (isImm())
OS << "Imm:" << getImm();
+ else if (isFPImm())
+ OS << "FPImm:" << getFPImm();
else if (isExpr()) {
OS << "Expr:(" << *getExpr() << ")";
} else if (isInst()) {