Fix the build on non ppc machines

llvm-svn: 18235
This commit is contained in:
Chris Lattner 2004-11-25 06:14:45 +00:00
parent 2686464378
commit 8cbad8efcf
1 changed files with 5 additions and 0 deletions

View File

@ -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) {