OSDN Git Service

finally found the gcc defined constants
authorAndrew Lenharth <andrewl@lenharth.org>
Fri, 22 Jul 2005 21:00:30 +0000 (21:00 +0000)
committerAndrew Lenharth <andrewl@lenharth.org>
Fri, 22 Jul 2005 21:00:30 +0000 (21:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22502 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Alpha/AlphaJITInfo.cpp
lib/Target/Alpha/AlphaTargetMachine.cpp

index ff09f09..c2074ff 100644 (file)
@@ -51,7 +51,7 @@ static TargetJITInfo::JITCompilerFn JITCompilerFunction;
 //static AlphaJITInfo* AlphaJTI;
 
 extern "C" {
-#if 0
+#ifdef __alpha
 
   void AlphaCompilationCallbackC(long* oldsp)
   {
index 16f8899..458e20b 100644 (file)
@@ -51,7 +51,7 @@ unsigned AlphaTargetMachine::getModuleMatchQuality(const Module &M) {
 }
 
 unsigned AlphaTargetMachine::getJITMatchQuality() {
-#if 0
+#ifdef __alpha
   return 10;
 #else
   return 0;