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 | 950a4c40b823cd4f09dc71be635229246dfd6cac (patch) | |
tree | ff52517c682e08112a66247bc8b85f81664f72b3 /lib/ExecutionEngine | |
parent | cfbb2f074da2842e42956d3b4c21e91b37f36f06 (diff) | |
download | external_llvm-950a4c40b823cd4f09dc71be635229246dfd6cac.zip external_llvm-950a4c40b823cd4f09dc71be635229246dfd6cac.tar.gz external_llvm-950a4c40b823cd4f09dc71be635229246dfd6cac.tar.bz2 |
Add explicit keywords.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48801 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine')
-rw-r--r-- | lib/ExecutionEngine/JIT/JIT.h | 2 | ||||
-rw-r--r-- | lib/ExecutionEngine/JIT/JITEmitter.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/ExecutionEngine/JIT/JIT.h b/lib/ExecutionEngine/JIT/JIT.h index bf1e804..69e301b 100644 --- a/lib/ExecutionEngine/JIT/JIT.h +++ b/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/lib/ExecutionEngine/JIT/JITEmitter.cpp b/lib/ExecutionEngine/JIT/JITEmitter.cpp index b675811..8d5a94a 100644 --- a/lib/ExecutionEngine/JIT/JITEmitter.cpp +++ b/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); |