[llvm-commits] CVS: llvm/tools/jello/jello.cpp

Chris Lattner lattner at cs.uiuc.edu
Mon Dec 23 17:56:01 PST 2002


Changes in directory llvm/tools/jello:

jello.cpp updated: 1.9 -> 1.10

---
Log message:

X86 target machine is now parameterizable


---
Diffs of the changes:

Index: llvm/tools/jello/jello.cpp
diff -u llvm/tools/jello/jello.cpp:1.9 llvm/tools/jello/jello.cpp:1.10
--- llvm/tools/jello/jello.cpp:1.9	Fri Dec 13 10:48:57 2002
+++ llvm/tools/jello/jello.cpp	Mon Dec 23 17:55:01 2002
@@ -11,6 +11,7 @@
 #include "llvm/Target/TargetMachineImpls.h"
 #include "Support/CommandLine.h"
 #include "VM.h"
+#include <memory>
 
 namespace {
   cl::opt<std::string>
@@ -32,7 +33,8 @@
 
   // Allocate a target... in the future this will be controllable on the
   // command line.
-  std::auto_ptr<TargetMachine> Target(allocateX86TargetMachine());
+  std::auto_ptr<TargetMachine> Target(
+		 allocateX86TargetMachine(TM::PtrSize64 | TM::BigEndian));
   assert(Target.get() && "Could not allocate target machine!");
 
   // Parse the input bytecode file...





More information about the llvm-commits mailing list