projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00e5330
)
Align stubs on 4 byte boundary. This fixes 447.dealII.
author
Evan Cheng
<evan.cheng@apple.com>
Thu, 16 Nov 2006 20:13:34 +0000
(20:13 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Thu, 16 Nov 2006 20:13:34 +0000
(20:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31790
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86JITInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86JITInfo.cpp
b/lib/Target/X86/X86JITInfo.cpp
index fe58ec74a254dcc7e43c93818ee07bd07554bb38..0e34fe3b216e623976ecffa71fa81e0feec3ad1a 100644
(file)
--- a/
lib/Target/X86/X86JITInfo.cpp
+++ b/
lib/Target/X86/X86JITInfo.cpp
@@
-288,13
+288,13
@@
void *X86JITInfo::emitFunctionStub(void *Fn, MachineCodeEmitter &MCE) {
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);