mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-26 06:04:47 +00:00
Add PrintSpecial() handling for in ARM MC instruction printer.
llvm-svn: 114563
This commit is contained in:
parent
8899a330c7
commit
f264fe8e05
@ -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…
x
Reference in New Issue
Block a user