[llvm-commits] CVS: llvm/lib/Target/X86/X86JITInfo.cpp
Jeff Cohen
jeffc at jolt-lang.org
Sat Apr 29 11:41:58 PDT 2006
Changes in directory llvm/lib/Target/X86:
X86JITInfo.cpp updated: 1.16 -> 1.17
---
Log message:
Mingw32 patches supplied by Anton Korobeynikov.
---
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.16 llvm/lib/Target/X86/X86JITInfo.cpp:1.17
--- llvm/lib/Target/X86/X86JITInfo.cpp:1.16 Tue Apr 25 15:54:26 2006
+++ llvm/lib/Target/X86/X86JITInfo.cpp Sat Apr 29 13:41:44 2006
@@ -48,7 +48,7 @@
asm(
".text\n"
".align 8\n"
-#if defined(__CYGWIN__) || defined(__APPLE__)
+#if defined(__CYGWIN__) || defined(__APPLE__) || defined(__MINGW32__)
".globl _X86CompilationCallback\n"
"_X86CompilationCallback:\n"
#else
@@ -59,7 +59,7 @@
"movl %esp, %ebp\n" // Standard prologue
"pushl %eax\n"
"pushl %edx\n" // save EAX/EDX
-#if defined(__CYGWIN__)
+#if defined(__CYGWIN__) || defined(__MINGW32__)
"call _X86CompilationCallback2\n"
#elif defined(__APPLE__)
"movl 4(%ebp), %eax\n" // load the address of return address
More information about the llvm-commits
mailing list