diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2008-03-23 14:44:32 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2008-03-23 14:44:32 +0000 |
commit | 231e964ad23f1c37da414068f2e7d44b496d809a (patch) | |
tree | a02b87fb43994863c3549bb0875e7ff3fc9cc814 /lib/Target/X86/X86JITInfo.cpp | |
parent | 85685076237af8849e67d45f49ba304619fe265a (diff) | |
download | external_llvm-231e964ad23f1c37da414068f2e7d44b496d809a.zip external_llvm-231e964ad23f1c37da414068f2e7d44b496d809a.tar.gz external_llvm-231e964ad23f1c37da414068f2e7d44b496d809a.tar.bz2 |
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.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/Target/X86/X86JITInfo.cpp b/lib/Target/X86/X86JITInfo.cpp index a98d66d..5d942a1 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 |