diff options
-rw-r--r-- | lib/Target/PowerPC/PPCJITInfo.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPCJITInfo.cpp b/lib/Target/PowerPC/PPCJITInfo.cpp index 15b2aa1bdd..a41385bc0a 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) { |