aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PowerPC/PPCJITInfo.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-11-25 06:14:45 +0000
committerChris Lattner <sabre@nondot.org>2004-11-25 06:14:45 +0000
commitfde839b4ff3c2c3f3658d45b2f7e9806f1d14032 (patch)
treed8ce5154147d7f4eae97c7cbe4636e6f3690b5ba /lib/Target/PowerPC/PPCJITInfo.cpp
parent7409d1c8674943f8aa5d17e18f51035bc49b3437 (diff)
downloadexternal_llvm-fde839b4ff3c2c3f3658d45b2f7e9806f1d14032.zip
external_llvm-fde839b4ff3c2c3f3658d45b2f7e9806f1d14032.tar.gz
external_llvm-fde839b4ff3c2c3f3658d45b2f7e9806f1d14032.tar.bz2
Fix the build on non ppc machines
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18235 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCJITInfo.cpp')
-rw-r--r--lib/Target/PowerPC/PPCJITInfo.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPCJITInfo.cpp b/lib/Target/PowerPC/PPCJITInfo.cpp
index 15b2aa1..a41385b 100644
--- a/lib/Target/PowerPC/PPCJITInfo.cpp
+++ b/lib/Target/PowerPC/PPCJITInfo.cpp
@@ -78,6 +78,11 @@ asm(
"addi r4, r1, 44\n" // &FPRegs[0]
"bl _PPC32CompilationCallbackC\n"
);
+#else
+void PPC32CompilationCallback() {
+ assert(0 && "This is not a power pc, you can't execute this!");
+ abort();
+}
#endif
extern "C" void PPC32CompilationCallbackC(unsigned *IntRegs, double *FPRegs) {