Revert 187318
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Sun, 28 Jul 2013 02:13:24 +0000 (02:13 +0000)
committerBill Schmidt <wschmidt@linux.vnet.ibm.com>
Sun, 28 Jul 2013 02:13:24 +0000 (02:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187319 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCJITInfo.cpp

index 01ddcbe5f4ac88ced81a6baf472d5d354c893510..18f4adf839e3ccad8f69f656310624c0a10d5617 100644 (file)
@@ -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!");
 }