[llvm-commits] CVS: llvm/tools/lli/JIT/JIT.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue Jun 17 10:56:04 PDT 2003
Changes in directory llvm/tools/lli/JIT:
JIT.cpp updated: 1.9 -> 1.10
---
Log message:
Apparently "sparc" is a macro on sparcs. Ugh. :)
---
Diffs of the changes:
Index: llvm/tools/lli/JIT/JIT.cpp
diff -u llvm/tools/lli/JIT/JIT.cpp:1.9 llvm/tools/lli/JIT/JIT.cpp:1.10
--- llvm/tools/lli/JIT/JIT.cpp:1.9 Tue Jun 17 10:43:13 2003
+++ llvm/tools/lli/JIT/JIT.cpp Tue Jun 17 10:54:02 2003
@@ -15,19 +15,19 @@
#include "llvm/PassManager.h"
namespace {
- enum ArchName { nojit, x86, sparc };
+ enum ArchName { nojit, x86, Sparc };
cl::opt<ArchName>
Arch("march", cl::desc("Architecture to JIT to:"), cl::Prefix,
cl::values(clEnumVal(x86, " IA-32 (pentium and above)"),
#if defined(sparc) || defined(__sparc__) || defined(__sparcv9)
- clEnumVal(sparc, " Sparc-V9"),
+ clEnumValN(Sparc, "sparc", " Sparc-V9"),
#endif
0),
#if defined(i386) || defined(__i386__) || defined(__x86__)
cl::init(x86)
#elif defined(sparc) || defined(__sparc__) || defined(__sparcv9)
- cl::init(sparc)
+ cl::init(Sparc)
#else
cl::init(nojit)
#endif
@@ -49,7 +49,7 @@
TargetMachineAllocator = allocateX86TargetMachine;
break;
#if defined(sparc) || defined(__sparc__) || defined(__sparcv9)
- case sparc:
+ case Sparc:
TargetMachineAllocator = allocateSparcTargetMachine;
break;
#endif
More information about the llvm-commits
mailing list