[llvm-commits] CVS: llvm/lib/Target/X86/X86ATTAsmPrinter.cpp
Evan Cheng
evan.cheng at apple.com
Tue Aug 29 15:13:24 PDT 2006
Changes in directory llvm/lib/Target/X86:
X86ATTAsmPrinter.cpp updated: 1.57 -> 1.58
---
Log message:
Minor asm fix.
---
Diffs of the changes: (+3 -1)
X86ATTAsmPrinter.cpp | 4 +++-
1 files changed, 3 insertions(+), 1 deletion(-)
Index: llvm/lib/Target/X86/X86ATTAsmPrinter.cpp
diff -u llvm/lib/Target/X86/X86ATTAsmPrinter.cpp:1.57 llvm/lib/Target/X86/X86ATTAsmPrinter.cpp:1.58
--- llvm/lib/Target/X86/X86ATTAsmPrinter.cpp:1.57 Mon Aug 28 17:14:16 2006
+++ llvm/lib/Target/X86/X86ATTAsmPrinter.cpp Tue Aug 29 17:13:10 2006
@@ -252,7 +252,9 @@
return;
}
- if (DispSpec.isGlobalAddress() || DispSpec.isConstantPoolIndex()) {
+ if (DispSpec.isGlobalAddress() ||
+ DispSpec.isConstantPoolIndex() ||
+ DispSpec.isJumpTableIndex()) {
printOperand(MI, Op+3, "mem");
} else {
int DispVal = DispSpec.getImmedValue();
More information about the llvm-commits
mailing list