[llvm-commits] CVS: llvm/lib/Target/X86/X86JITInfo.cpp

2006-04-29 Thread Jeff Cohen


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__)
 movl4(%ebp), %eax\n // load the address of return address



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


[llvm-commits] CVS: llvm/lib/System/Win32/Path.inc

2006-04-29 Thread Jeff Cohen


Changes in directory llvm/lib/System/Win32:

Path.inc updated: 1.40 - 1.41
---
Log message:

Mingw32 patches supplied by Anton Korobeynikov.

---
Diffs of the changes:  (+1 -1)

 Path.inc |2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/System/Win32/Path.inc
diff -u llvm/lib/System/Win32/Path.inc:1.40 llvm/lib/System/Win32/Path.inc:1.41
--- llvm/lib/System/Win32/Path.inc:1.40 Sat Jul  9 13:42:49 2005
+++ llvm/lib/System/Win32/Path.inc  Sat Apr 29 13:41:44 2006
@@ -741,7 +741,7 @@
 }
 
 void
-sys::CopyFile(const sys::Path Dest, const sys::Path Src) {
+CopyFile(const sys::Path Dest, const sys::Path Src) {
   // Can't use CopyFile macro defined in Windows.h because it would mess up the
   // above line.  We use the expansion it would have in a non-UNICODE build.
   if (!::CopyFileA(Src.c_str(), Dest.c_str(), false))



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits