diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-09-29 21:43:01 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-09-29 21:43:01 +0000 |
commit | 026fa8782cd59f79ac6335e54a0d1cc882a0b626 (patch) | |
tree | a48a52d59a6c077171bbb22f686978d3d6a77225 | |
parent | 5fa301bfa9a318de177cbf19ff925f10a742695f (diff) | |
download | external_llvm-026fa8782cd59f79ac6335e54a0d1cc882a0b626.zip external_llvm-026fa8782cd59f79ac6335e54a0d1cc882a0b626.tar.gz external_llvm-026fa8782cd59f79ac6335e54a0d1cc882a0b626.tar.bz2 |
Tidy up. Formatting.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140810 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/ExecutionEngine/ExecutionEngine.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/include/llvm/ExecutionEngine/ExecutionEngine.h b/include/llvm/ExecutionEngine/ExecutionEngine.h index 7a8b9ee..cf85671 100644 --- a/include/llvm/ExecutionEngine/ExecutionEngine.h +++ b/include/llvm/ExecutionEngine/ExecutionEngine.h @@ -120,9 +120,7 @@ protected: /// optimize for the case where there is only one module. SmallVector<Module*, 1> Modules; - void setTargetData(const TargetData *td) { - TD = td; - } + void setTargetData(const TargetData *td) { TD = td; } /// getMemoryforGV - Allocate memory for a global variable. virtual char *getMemoryForGV(const GlobalVariable *GV); @@ -144,8 +142,7 @@ protected: CodeGenOpt::Level OptLevel, bool GVsWithCode, TargetMachine *TM); - static ExecutionEngine *(*InterpCtor)(Module *M, - std::string *ErrorStr); + static ExecutionEngine *(*InterpCtor)(Module *M, std::string *ErrorStr); /// LazyFunctionCreator - If an unknown function is needed, this function /// pointer is invoked to create it. If this returns null, the JIT will @@ -187,7 +184,7 @@ public: bool ForceInterpreter = false, std::string *ErrorStr = 0, CodeGenOpt::Level OptLevel = - CodeGenOpt::Default, + CodeGenOpt::Default, bool GVsWithCode = true); /// createJIT - This is the factory method for creating a JIT for the current @@ -200,11 +197,11 @@ public: std::string *ErrorStr = 0, JITMemoryManager *JMM = 0, CodeGenOpt::Level OptLevel = - CodeGenOpt::Default, + CodeGenOpt::Default, bool GVsWithCode = true, Reloc::Model RM = Reloc::Default, CodeModel::Model CMM = - CodeModel::JITDefault); + CodeModel::JITDefault); /// addModule - Add a Module to the list of modules that we can JIT from. /// Note that this takes ownership of the Module: when the ExecutionEngine is |