diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2004-09-29 23:01:17 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2004-09-29 23:01:17 +0000 |
commit | 1155d31ef6d3b7926bff0aaf63a990843cad3fd2 (patch) | |
tree | d579a7b1c1192dcd534a4475028e333109fb6a5a /lib/Target/SparcV9/SparcV9TargetMachine.cpp | |
parent | a71989f11b8ce9e7775d4b69ad301a23a68978dc (diff) |
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
Diffstat (limited to 'lib/Target/SparcV9/SparcV9TargetMachine.cpp')
-rw-r--r-- | lib/Target/SparcV9/SparcV9TargetMachine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/SparcV9/SparcV9TargetMachine.cpp b/lib/Target/SparcV9/SparcV9TargetMachine.cpp index 1019c5619f..0851ef4bc9 100644 --- a/lib/Target/SparcV9/SparcV9TargetMachine.cpp +++ b/lib/Target/SparcV9/SparcV9TargetMachine.cpp @@ -65,7 +65,7 @@ namespace { } unsigned SparcV9TargetMachine::getJITMatchQuality() { -#if defined(sparc) || defined(__sparc__) || defined(__sparcv9) +#if defined(__sparcv9) return 10; #else return 0; |