mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-27 13:30:05 +00:00
Add a dump() implementation for sub-instruction MCOperands.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148493 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7b672fe03b
commit
27ff6b5e2b
@ -25,6 +25,8 @@ void MCOperand::print(raw_ostream &OS, const MCAsmInfo *MAI) const {
|
||||
OS << "Imm:" << getImm();
|
||||
else if (isExpr()) {
|
||||
OS << "Expr:(" << *getExpr() << ")";
|
||||
} else if (isInst()) {
|
||||
OS << "Inst:(" << *getInst() << ")";
|
||||
} else
|
||||
OS << "UNDEFINED";
|
||||
OS << ">";
|
||||
|
Loading…
Reference in New Issue
Block a user