[llvm-commits] CVS: llvm/lib/Target/X86/X86CodeEmitter.cpp X86JITInfo.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sat Nov 20 19:46:19 PST 2004
Changes in directory llvm/lib/Target/X86:
X86CodeEmitter.cpp updated: 1.77 -> 1.78
X86JITInfo.cpp updated: 1.1 -> 1.2
---
Log message:
There is no reason to emit function stubs for direct calls.
---
Diffs of the changes: (+1 -2)
Index: llvm/lib/Target/X86/X86CodeEmitter.cpp
diff -u llvm/lib/Target/X86/X86CodeEmitter.cpp:1.77 llvm/lib/Target/X86/X86CodeEmitter.cpp:1.78
--- llvm/lib/Target/X86/X86CodeEmitter.cpp:1.77 Sat Nov 20 17:55:15 2004
+++ llvm/lib/Target/X86/X86CodeEmitter.cpp Sat Nov 20 21:46:06 2004
@@ -141,7 +141,7 @@
///
void Emitter::emitGlobalAddressForCall(GlobalValue *GV) {
MCE.addRelocation(MachineRelocation(MCE.getCurrentPCOffset(),
- X86::reloc_pcrel_word, GV));
+ X86::reloc_pcrel_word, GV, 0, true));
MCE.emitWord(0);
}
Index: llvm/lib/Target/X86/X86JITInfo.cpp
diff -u llvm/lib/Target/X86/X86JITInfo.cpp:1.1 llvm/lib/Target/X86/X86JITInfo.cpp:1.2
--- llvm/lib/Target/X86/X86JITInfo.cpp:1.1 Sat Nov 20 17:54:33 2004
+++ llvm/lib/Target/X86/X86JITInfo.cpp Sat Nov 20 21:46:06 2004
@@ -137,4 +137,3 @@
}
}
}
-
More information about the llvm-commits
mailing list