Change the #ifdefs to allow compilation with a V8 compiler, but the JIT still

won't work if not compiled in V9 mode, currently by GCC only, because Sun's
system compiler does not tell us if it's a V8 or V9 system.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16602 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Misha Brukman
2004-09-29 23:01:17 +00:00
parent a71989f11b
commit 1155d31ef6
2 changed files with 6 additions and 6 deletions

View File

@@ -65,7 +65,7 @@ namespace {
}
unsigned SparcV9TargetMachine::getJITMatchQuality() {
#if defined(sparc) || defined(__sparc__) || defined(__sparcv9)
#if defined(__sparcv9)
return 10;
#else
return 0;