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:
141e488
)
Fix lli linking on Mac OS X 10.4.1 for Intel.
author
Nate Begeman
<natebegeman@mac.com>
Wed, 8 Jun 2005 01:02:38 +0000
(
01:02
+0000)
committer
Nate Begeman
<natebegeman@mac.com>
Wed, 8 Jun 2005 01:02:38 +0000
(
01:02
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22200
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 afbb1ec4eca07fe57e819b617444813879ca6aac..3b03308bb9d0338477303b90b5b49d6807cae9ef 100644
(file)
--- a/
lib/Target/X86/X86JITInfo.cpp
+++ b/
lib/Target/X86/X86JITInfo.cpp
@@
-43,7
+43,7
@@
extern "C" {
asm(
".text\n"
".align 8\n"
-#if
def __CYGWIN__
+#if
defined(__CYGWIN__) || defined(__APPLE__)
".globl _X86CompilationCallback\n"
"_X86CompilationCallback:\n"
#else
@@
-54,7
+54,7
@@
extern "C" {
"movl %esp, %ebp\n" // Standard prologue
"pushl %eax\n"
"pushl %edx\n" // save EAX/EDX
-#if
def __CYGWIN__
+#if
defined(__CYGWIN__) || defined(__APPLE__)
"call _X86CompilationCallback2\n"
#else
"call X86CompilationCallback2\n"