From b76d4965c18063955f5a7f027a1869da885769d5 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 23 Dec 2002 23:55:01 +0000 Subject: [PATCH] X86 target machine is now parameterizable git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5124 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/jello/jello.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/jello/jello.cpp b/tools/jello/jello.cpp index 7fe37b02f65..73d40581e9d 100644 --- a/tools/jello/jello.cpp +++ b/tools/jello/jello.cpp @@ -11,6 +11,7 @@ #include "llvm/Target/TargetMachineImpls.h" #include "Support/CommandLine.h" #include "VM.h" +#include namespace { cl::opt @@ -32,7 +33,8 @@ int main(int argc, char **argv) { // Allocate a target... in the future this will be controllable on the // command line. - std::auto_ptr Target(allocateX86TargetMachine()); + std::auto_ptr Target( + allocateX86TargetMachine(TM::PtrSize64 | TM::BigEndian)); assert(Target.get() && "Could not allocate target machine!"); // Parse the input bytecode file...