diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2003-10-16 21:19:34 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2003-10-16 21:19:34 +0000 |
commit | 0f4f7d9eb72dec2a72ec596fb3d611a241893bb7 (patch) | |
tree | c22b432a20b7c7780ed71dc3193be22b5b4ccc2a /lib/ExecutionEngine/JIT/JIT.cpp | |
parent | 19684164a7b695b9dc22d879675e8d2b286ef7e5 (diff) |
JIT.cpp:
* #include "llvm/ModuleProvider"
* alphabetize #includes
* omit extraneous parens in pointer expressions
VM.cpp:
* #include "llvm/ModuleProvider"
* alphabetize #includes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9182 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/JIT/JIT.cpp')
-rw-r--r-- | lib/ExecutionEngine/JIT/JIT.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/ExecutionEngine/JIT/JIT.cpp b/lib/ExecutionEngine/JIT/JIT.cpp index 9bdaa57017..7309b80c4b 100644 --- a/lib/ExecutionEngine/JIT/JIT.cpp +++ b/lib/ExecutionEngine/JIT/JIT.cpp @@ -6,10 +6,11 @@ //===----------------------------------------------------------------------===// #include "VM.h" +#include "llvm/Module.h" +#include "llvm/ModuleProvider.h" #include "llvm/ExecutionEngine/GenericValue.h" #include "llvm/Target/TargetMachine.h" #include "llvm/Target/TargetMachineImpls.h" -#include "llvm/Module.h" #include "Support/CommandLine.h" // FIXME: REMOVE THIS @@ -71,7 +72,7 @@ ExecutionEngine *VM::create(ModuleProvider *MP) { } // Allocate a target... - TargetMachine *Target = TargetMachineAllocator(*(MP->getModule())); + TargetMachine *Target = TargetMachineAllocator(*MP->getModule()); assert(Target && "Could not allocate target machine!"); // Create the virtual machine object... @@ -99,7 +100,7 @@ VM::VM(ModuleProvider *MP, TargetMachine *tm) : ExecutionEngine(MP), TM(*tm), // We cannot utilize function-at-a-time loading here because PreSelection // is a ModulePass. MP->materializeModule(); - PM.run(*(MP->getModule())); + PM.run(*MP->getModule()); } #endif |