projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7409d1c
)
Fix the build on non ppc machines
author
Chris Lattner
<sabre@nondot.org>
Thu, 25 Nov 2004 06:14:45 +0000
(06:14 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 25 Nov 2004 06:14:45 +0000
(06:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18235
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/PPCJITInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPCJITInfo.cpp
b/lib/Target/PowerPC/PPCJITInfo.cpp
index 15b2aa1bddf4af7b2c674e56fd0fd4423ab90bc9..a41385bc0a492c11f14290142b0de79457f0d932 100644
(file)
--- 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) {