From 38396f8a93da22579c635ece948ce5d35014d738 Mon Sep 17 00:00:00 2001 From: Andrew Lenharth Date: Fri, 22 Jul 2005 21:00:30 +0000 Subject: [PATCH] finally found the gcc defined constants git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22502 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/Alpha/AlphaJITInfo.cpp | 2 +- lib/Target/Alpha/AlphaTargetMachine.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Target/Alpha/AlphaJITInfo.cpp b/lib/Target/Alpha/AlphaJITInfo.cpp index ff09f0988f4..c2074ff0611 100644 --- a/lib/Target/Alpha/AlphaJITInfo.cpp +++ b/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/lib/Target/Alpha/AlphaTargetMachine.cpp b/lib/Target/Alpha/AlphaTargetMachine.cpp index 16f8899818a..458e20b61ed 100644 --- a/lib/Target/Alpha/AlphaTargetMachine.cpp +++ b/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;