[llvm-commits] CVS: llvm/lib/Target/X86/X86JITInfo.cpp
Evan Cheng
evan.cheng at apple.com
Thu Nov 16 12:13:50 PST 2006
Changes in directory llvm/lib/Target/X86:
X86JITInfo.cpp updated: 1.30 -> 1.31
---
Log message:
Align stubs on 4 byte boundary. This fixes 447.dealII.
---
Diffs of the changes: (+2 -2)
X86JITInfo.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/lib/Target/X86/X86JITInfo.cpp
diff -u llvm/lib/Target/X86/X86JITInfo.cpp:1.30 llvm/lib/Target/X86/X86JITInfo.cpp:1.31
--- llvm/lib/Target/X86/X86JITInfo.cpp:1.30 Mon Oct 16 18:44:08 2006
+++ llvm/lib/Target/X86/X86JITInfo.cpp Thu Nov 16 14:13:34 2006
@@ -288,13 +288,13 @@
bool NotCC = Fn != (void*)(intptr_t)X86CompilationCallback;
#endif
if (NotCC) {
- MCE.startFunctionStub(5);
+ MCE.startFunctionStub(5, 4);
MCE.emitByte(0xE9);
MCE.emitWordLE((intptr_t)Fn-MCE.getCurrentPCValue()-4);
return MCE.finishFunctionStub(0);
}
- MCE.startFunctionStub(6);
+ MCE.startFunctionStub(6, 4);
MCE.emitByte(0xE8); // Call with 32 bit pc-rel destination...
MCE.emitWordLE((intptr_t)Fn-MCE.getCurrentPCValue()-4);
More information about the llvm-commits
mailing list