diff options
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/tools/jello/jello.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/tools/jello/jello.cpp b/llvm/tools/jello/jello.cpp index 7fe37b02f65..73d40581e9d 100644 --- a/llvm/tools/jello/jello.cpp +++ b/llvm/tools/jello/jello.cpp @@ -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 @@ int main(int argc, char **argv) { // 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... |