summaryrefslogtreecommitdiff
path: root/lib/Target/X86/X86JITInfo.cpp
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2008-03-23 14:44:32 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2008-03-23 14:44:32 +0000
commit231e964ad23f1c37da414068f2e7d44b496d809a (patch)
treea02b87fb43994863c3549bb0875e7ff3fc9cc814 /lib/Target/X86/X86JITInfo.cpp
parent85685076237af8849e67d45f49ba304619fe265a (diff)
downloadllvm-231e964ad23f1c37da414068f2e7d44b496d809a.tar.gz
llvm-231e964ad23f1c37da414068f2e7d44b496d809a.tar.bz2
llvm-231e964ad23f1c37da414068f2e7d44b496d809a.tar.xz
Add Win64 compilation callback. This allows easy examples to be JITed on Win64!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48706 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86JITInfo.cpp')
-rw-r--r--lib/Target/X86/X86JITInfo.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/Target/X86/X86JITInfo.cpp b/lib/Target/X86/X86JITInfo.cpp
index a98d66d4d9..5d942a1768 100644
--- a/lib/Target/X86/X86JITInfo.cpp
+++ b/lib/Target/X86/X86JITInfo.cpp
@@ -153,11 +153,10 @@ extern "C" {
CFI(".cfi_endproc\n")
);
# else
- // No inline assembler support on this platform
- void X86CompilationCallback() {
- assert(0 && "Cannot call X86CompilationCallback() on a non-x86 arch!\n");
- abort();
- }
+ // No inline assembler support on this platform. The routine is in external
+ // file.
+ void X86CompilationCallback();
+
# endif
#elif defined (X86_32_JIT)
# ifndef _MSC_VER