mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-22 10:29:35 +00:00
Add PrintSpecial() handling for in ARM MC instruction printer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114563 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bd4ec84d15
commit
00d01f1a42
@ -736,3 +736,11 @@ void ARMInstPrinter::printNEONModImmOperand(const MCInst *MI, unsigned OpNum,
|
||||
uint64_t Val = ARM_AM::decodeNEONModImm(EncodedImm, EltBits);
|
||||
O << "#0x" << utohexstr(Val);
|
||||
}
|
||||
|
||||
void ARMInstPrinter::PrintSpecial(const MCInst *MI, raw_ostream &O,
|
||||
const char *Kind) {
|
||||
if (strcmp(Kind, "comment") == 0)
|
||||
O << "@";
|
||||
else
|
||||
abort();
|
||||
}
|
||||
|
@ -110,8 +110,7 @@ public:
|
||||
void printNEONModImmOperand(const MCInst *MI, unsigned OpNum, raw_ostream &O);
|
||||
|
||||
void printPCLabel(const MCInst *MI, unsigned OpNum, raw_ostream &O);
|
||||
// FIXME: Implement.
|
||||
void PrintSpecial(const MCInst *MI, raw_ostream &O, const char *Kind) {}
|
||||
void PrintSpecial(const MCInst *MI, raw_ostream &O, const char *Kind);
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user