aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ExecutionEngine/JIT
diff options
context:
space:
mode:
authorJay Foad <jay.foad@gmail.com>2011-04-13 12:46:01 +0000
committerJay Foad <jay.foad@gmail.com>2011-04-13 12:46:01 +0000
commit5b24017ca8204fc256e57605b2742b38ab77da8e (patch)
treec3e9f15522c63609c7e1e77787f6da63b69c3d7b /lib/ExecutionEngine/JIT
parenteb04a33dc778c6520489dff19d394c542d87c6ac (diff)
downloadexternal_llvm-5b24017ca8204fc256e57605b2742b38ab77da8e.zip
external_llvm-5b24017ca8204fc256e57605b2742b38ab77da8e.tar.gz
external_llvm-5b24017ca8204fc256e57605b2742b38ab77da8e.tar.bz2
Like the coding standards say, do not use "using namespace std".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129435 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/JIT')
-rw-r--r--lib/ExecutionEngine/JIT/JITEmitter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ExecutionEngine/JIT/JITEmitter.cpp b/lib/ExecutionEngine/JIT/JITEmitter.cpp
index 3b4e750..d046b8a 100644
--- a/lib/ExecutionEngine/JIT/JITEmitter.cpp
+++ b/lib/ExecutionEngine/JIT/JITEmitter.cpp
@@ -128,7 +128,7 @@ namespace {
return GlobalToIndirectSymMap;
}
- pair<void *, Function *> LookupFunctionFromCallSite(
+ std::pair<void *, Function *> LookupFunctionFromCallSite(
const MutexGuard &locked, void *CallSite) const {
assert(locked.holds(TheJIT->lock));
@@ -646,7 +646,7 @@ void *JITResolver::JITCompilerFn(void *Stub) {
// The address given to us for the stub may not be exactly right, it might
// be a little bit after the stub. As such, use upper_bound to find it.
- pair<void*, Function*> I =
+ std::pair<void*, Function*> I =
JR->state.LookupFunctionFromCallSite(locked, Stub);
F = I.second;
ActualPtr = I.first;