diff options
author | Dan Gohman <gohman@apple.com> | 2009-03-11 23:01:47 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-03-11 23:01:47 +0000 |
commit | 30143763b9a4b670ccb5b064626fbe90ff97830a (patch) | |
tree | e985a4a517b8190f65e08a547070758f834b7323 /lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp | |
parent | c40d4f85ddd6f822480f91dacd9646eec055c4ca (diff) | |
download | external_llvm-30143763b9a4b670ccb5b064626fbe90ff97830a.zip external_llvm-30143763b9a4b670ccb5b064626fbe90ff97830a.tar.gz external_llvm-30143763b9a4b670ccb5b064626fbe90ff97830a.tar.bz2 |
Revert r66024. The JIT encoding for CALLpcrel32 is wrong -- see PR3773, and the
assembly text output uses an indirect call ("call *") instead of a direct call.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66735 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp')
-rw-r--r-- | lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp b/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp index 2030d81..8020fb1 100644 --- a/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp +++ b/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp @@ -308,9 +308,7 @@ void X86ATTAsmPrinter::printOperand(const MachineInstr *MI, unsigned OpNo, } case MachineOperand::MO_Immediate: - if (Modifier && !strcmp(Modifier, "call")) - O << '*'; - else if (!Modifier || + if (!Modifier || (strcmp(Modifier, "debug") && strcmp(Modifier, "mem"))) O << '$'; O << MO.getImm(); |