aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/X86/X86JITInfo.cpp
diff options
context:
space:
mode:
authorTorok Edwin <edwintorok@gmail.com>2010-02-08 08:37:27 +0000
committerTorok Edwin <edwintorok@gmail.com>2010-02-08 08:37:27 +0000
commitacf2a657865610fdca58fc0553a9bd901670f2f1 (patch)
treeadc42f39a40e156250332e54a6e7976d4783db5c /lib/Target/X86/X86JITInfo.cpp
parent504b4cdc1c738621ed8b6a39012bb74d32cce95a (diff)
Fix x86 JIT stub on MSVC.
Thanks to Kristaps Straupe for noticing the bug. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95537 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86JITInfo.cpp')
-rw-r--r--lib/Target/X86/X86JITInfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/X86/X86JITInfo.cpp b/lib/Target/X86/X86JITInfo.cpp
index f363903d93..d297d24e22 100644
--- a/lib/Target/X86/X86JITInfo.cpp
+++ b/lib/Target/X86/X86JITInfo.cpp
@@ -297,6 +297,7 @@ extern "C" {
push edx
push ecx
and esp, -16
+ sub esp, 16
mov eax, dword ptr [ebp+4]
mov dword ptr [esp+4], eax
mov dword ptr [esp], ebp