mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-30 19:35:54 +00:00
Emit a '!' if this is a "writeback" register or memory address.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118662 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b80e973c95
commit
8ea974039a
@ -382,10 +382,10 @@ void ARMOperand::dump(raw_ostream &OS) const {
|
||||
getImm()->print(OS);
|
||||
break;
|
||||
case Memory:
|
||||
OS << "<memory>";
|
||||
OS << "<memory" << (!Mem.Writeback ? ">" : "!>");
|
||||
break;
|
||||
case Register:
|
||||
OS << "<register " << getReg() << ">";
|
||||
OS << "<register " << getReg() << (!Reg.Writeback ? ">" : "!>");
|
||||
break;
|
||||
case RegisterList: {
|
||||
OS << "<register_list ";
|
||||
|
Loading…
x
Reference in New Issue
Block a user