summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2013-07-16 09:59:51 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2013-07-16 09:59:51 +0000
commit649c7fc4747b508d72031bce111902fe53932cca (patch)
treefa65e46103918ccb0882263402804494de179688
parent2f438131f115a3860ee344a827a091790d6dc13d (diff)
downloadllvm-649c7fc4747b508d72031bce111902fe53932cca.tar.gz
llvm-649c7fc4747b508d72031bce111902fe53932cca.tar.bz2
llvm-649c7fc4747b508d72031bce111902fe53932cca.tar.xz
PPCJITInfo.cpp: Tweak r186252 with s/__ppc/__powerpc/ to work on powerpc-linux Fedora 12.
g++ (GCC) 4.4.4 20100630 (Red Hat 4.4.4-10) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186396 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/PowerPC/PPCJITInfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/PowerPC/PPCJITInfo.cpp b/lib/Target/PowerPC/PPCJITInfo.cpp
index 9f4525b71e..17450616de 100644
--- a/lib/Target/PowerPC/PPCJITInfo.cpp
+++ b/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(__ppc__) || defined(__ppc64__)
+#if !defined(__powerpc__) || defined(__powerpc64__)
void PPC32CompilationCallback() {
llvm_unreachable("This is not a 32bit PowerPC, you can't execute this!");
}
@@ -202,7 +202,7 @@ asm(
);
#endif
-#ifndef __ppc64__
+#ifndef __powerpc64__
void PPC64CompilationCallback() {
llvm_unreachable("This is not a 64bit PowerPC, you can't execute this!");
}