diff options
| author | Dan Gohman <gohman@apple.com> | 2008-03-25 22:06:05 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2008-03-25 22:06:05 +0000 |
| commit | c60c67fc3748af13abeb6c14dbbc8eb0c9b87a09 (patch) | |
| tree | be4663d1b76bdc1ff93316b4ed3707dc63811af8 /llvm/lib/ExecutionEngine/JIT | |
| parent | bdc24adaafc3ec79eba2fb279b8f5546bfbedae5 (diff) | |
| download | bcm5719-llvm-c60c67fc3748af13abeb6c14dbbc8eb0c9b87a09.tar.gz bcm5719-llvm-c60c67fc3748af13abeb6c14dbbc8eb0c9b87a09.zip | |
Add explicit keywords.
llvm-svn: 48801
Diffstat (limited to 'llvm/lib/ExecutionEngine/JIT')
| -rw-r--r-- | llvm/lib/ExecutionEngine/JIT/JIT.h | 2 | ||||
| -rw-r--r-- | llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/ExecutionEngine/JIT/JIT.h b/llvm/lib/ExecutionEngine/JIT/JIT.h index bf1e804cd41..69e301bf6d0 100644 --- a/llvm/lib/ExecutionEngine/JIT/JIT.h +++ b/llvm/lib/ExecutionEngine/JIT/JIT.h @@ -37,7 +37,7 @@ private: std::vector<const GlobalVariable*> PendingGlobals; public: - JITState(ModuleProvider *MP) : PM(MP) {} + explicit JITState(ModuleProvider *MP) : PM(MP) {} FunctionPassManager &getPM(const MutexGuard &L) { return PM; diff --git a/llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp b/llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp index b675811e437..8d5a94a50be 100644 --- a/llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp +++ b/llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp @@ -96,7 +96,7 @@ namespace { static JITResolver *TheJITResolver; public: - JITResolver(JIT &jit) : nextGOTIndex(0) { + explicit JITResolver(JIT &jit) : nextGOTIndex(0) { TheJIT = &jit; LazyResolverFn = jit.getJITInfo().getLazyResolverFunction(JITCompilerFn); |

