summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>2013-07-28 02:13:24 +0000
committerBill Schmidt <wschmidt@linux.vnet.ibm.com>2013-07-28 02:13:24 +0000
commit20573225ed217c9cb930a0e029d5929fc1e1c179 (patch)
treec6d382c9a92d1850dc5e9ff0be535a697c3bf7f8 /llvm/lib
parentf5b32e393574bdd5e873ee6280b5b36a7cca5482 (diff)
downloadbcm5719-llvm-20573225ed217c9cb930a0e029d5929fc1e1c179.tar.gz
bcm5719-llvm-20573225ed217c9cb930a0e029d5929fc1e1c179.zip
Revert 187318
llvm-svn: 187319
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/PowerPC/PPCJITInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCJITInfo.cpp b/llvm/lib/Target/PowerPC/PPCJITInfo.cpp
index 01ddcbe5f4a..18f4adf839e 100644
--- a/llvm/lib/Target/PowerPC/PPCJITInfo.cpp
+++ b/llvm/lib/Target/PowerPC/PPCJITInfo.cpp
@@ -71,7 +71,7 @@ static void EmitBranchToAt(uint64_t At, uint64_t To, bool isCall, bool is64Bit){
extern "C" void PPC32CompilationCallback();
extern "C" void PPC64CompilationCallback();
-#if defined(__powerpc64__) || defined(__ppc64__)
+#if (!defined(__ppc__) && !defined(__powerpc__)) || defined(__powerpc64__) || defined(__ppc64__)
void PPC32CompilationCallback() {
llvm_unreachable("This is not a 32bit PowerPC, you can't execute this!");
}
OpenPOWER on IntegriCloud