[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPC32JITInfo.cpp
Chris Lattner
lattner at cs.uiuc.edu
Wed Nov 24 22:14:59 PST 2004
Changes in directory llvm/lib/Target/PowerPC:
PPC32JITInfo.cpp updated: 1.10 -> 1.11
---
Log message:
Fix the build on non ppc machines
---
Diffs of the changes: (+5 -0)
Index: llvm/lib/Target/PowerPC/PPC32JITInfo.cpp
diff -u llvm/lib/Target/PowerPC/PPC32JITInfo.cpp:1.10 llvm/lib/Target/PowerPC/PPC32JITInfo.cpp:1.11
--- llvm/lib/Target/PowerPC/PPC32JITInfo.cpp:1.10 Wed Nov 24 16:30:08 2004
+++ llvm/lib/Target/PowerPC/PPC32JITInfo.cpp Thu Nov 25 00:14:45 2004
@@ -78,6 +78,11 @@
"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) {
More information about the llvm-commits
mailing list