summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/Alpha/AlphaJITInfo.cpp2
-rw-r--r--llvm/lib/Target/Alpha/AlphaTargetMachine.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/Alpha/AlphaJITInfo.cpp b/llvm/lib/Target/Alpha/AlphaJITInfo.cpp
index ff09f0988f4..c2074ff0611 100644
--- a/llvm/lib/Target/Alpha/AlphaJITInfo.cpp
+++ b/llvm/lib/Target/Alpha/AlphaJITInfo.cpp
@@ -51,7 +51,7 @@ static TargetJITInfo::JITCompilerFn JITCompilerFunction;
//static AlphaJITInfo* AlphaJTI;
extern "C" {
-#if 0
+#ifdef __alpha
void AlphaCompilationCallbackC(long* oldsp)
{
diff --git a/llvm/lib/Target/Alpha/AlphaTargetMachine.cpp b/llvm/lib/Target/Alpha/AlphaTargetMachine.cpp
index 16f8899818a..458e20b61ed 100644
--- a/llvm/lib/Target/Alpha/AlphaTargetMachine.cpp
+++ b/llvm/lib/Target/Alpha/AlphaTargetMachine.cpp
@@ -51,7 +51,7 @@ unsigned AlphaTargetMachine::getModuleMatchQuality(const Module &M) {
}
unsigned AlphaTargetMachine::getJITMatchQuality() {
-#if 0
+#ifdef __alpha
return 10;
#else
return 0;
OpenPOWER on IntegriCloud