[llvm-commits] CVS: llvm/lib/ExecutionEngine/JIT/TargetSelect.cpp

Brian Gaeke gaeke at cs.uiuc.edu
Wed Feb 25 13:10:50 PST 2004


Changes in directory llvm/lib/ExecutionEngine/JIT:

TargetSelect.cpp updated: 1.2 -> 1.3

---
Log message:

Great renaming part II: Sparc --> SparcV9 (also includes command-line options and Makefiles)

---
Diffs of the changes:  (+5 -5)

Index: llvm/lib/ExecutionEngine/JIT/TargetSelect.cpp
diff -u llvm/lib/ExecutionEngine/JIT/TargetSelect.cpp:1.2 llvm/lib/ExecutionEngine/JIT/TargetSelect.cpp:1.3
--- llvm/lib/ExecutionEngine/JIT/TargetSelect.cpp:1.2	Sun Dec 28 03:44:37 2003
+++ llvm/lib/ExecutionEngine/JIT/TargetSelect.cpp	Wed Feb 25 13:08:11 2004
@@ -28,7 +28,7 @@
 #endif
 
 namespace {
-  enum ArchName { x86, Sparc };
+  enum ArchName { x86, SparcV9 };
 
 #ifndef NO_JITS_ENABLED
   cl::opt<ArchName>
@@ -38,13 +38,13 @@
                   clEnumVal(x86, "  IA-32 (Pentium and above)"),
 #endif
 #ifdef ENABLE_SPARC_JIT
-                  clEnumValN(Sparc, "sparc", "  Sparc-V9"),
+                  clEnumValN(Sparc, "sparcv9", "  Sparc-V9"),
 #endif
                   0),
 #if defined(ENABLE_X86_JIT)
   cl::init(x86)
 #elif defined(ENABLE_SPARC_JIT)
-  cl::init(Sparc)
+  cl::init(SparcV9)
 #endif
        );
 #endif /* NO_JITS_ENABLED */
@@ -69,8 +69,8 @@
     break;
 #endif
 #ifdef ENABLE_SPARC_JIT
-  case Sparc:
-    TargetMachineAllocator = allocateSparcTargetMachine;
+  case SparcV9:
+    TargetMachineAllocator = allocateSparcV9TargetMachine;
     break;
 #endif
   default:





More information about the llvm-commits mailing list