OSDN Git Service

0 offsets for memory operands
authorAndrew Lenharth <andrewl@lenharth.org>
Mon, 3 Jul 2006 17:57:34 +0000 (17:57 +0000)
committerAndrew Lenharth <andrewl@lenharth.org>
Mon, 3 Jul 2006 17:57:34 +0000 (17:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28989 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Alpha/AlphaAsmPrinter.cpp

index 1c1c39a..919552c 100644 (file)
@@ -288,6 +288,8 @@ bool AlphaAsmPrinter::PrintAsmMemoryOperand(const MachineInstr *MI,
                                            const char *ExtraCode) {
   if (ExtraCode && ExtraCode[0])
     return true; // Unknown modifier.
+  O << "0(";
   printOperand(MI, OpNo);
+  O << ")";
   return false;
 }