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 | 1273147daf17230bbb1c904f36142e821a63a2fc (patch) | |
| tree | aab72d3ce7582ee94fa7cc66cfcdcb9ed0af1744 /llvm/lib/ExecutionEngine/JIT/JIT.cpp | |
| parent | 260b0c88a006d3952975fb5000de38f32e5744c7 (diff) | |
| download | bcm5719-llvm-1273147daf17230bbb1c904f36142e821a63a2fc.tar.gz bcm5719-llvm-1273147daf17230bbb1c904f36142e821a63a2fc.zip | |
JIT.cpp:
* #include "llvm/ModuleProvider"
* alphabetize #includes
* omit extraneous parens in pointer expressions
VM.cpp:
* #include "llvm/ModuleProvider"
* alphabetize #includes
llvm-svn: 9182
Diffstat (limited to 'llvm/lib/ExecutionEngine/JIT/JIT.cpp')
| -rw-r--r-- | llvm/lib/ExecutionEngine/JIT/JIT.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/lib/ExecutionEngine/JIT/JIT.cpp b/llvm/lib/ExecutionEngine/JIT/JIT.cpp index 9bdaa570179..7309b80c4b6 100644 --- a/llvm/lib/ExecutionEngine/JIT/JIT.cpp +++ b/llvm/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 |

