mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-08 11:37:03 +00:00
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
This commit is contained in:
parent
eb04a33dc7
commit
5b24017ca8
@ -23,8 +23,6 @@
|
|||||||
#include "llvm/CodeGen/MachineCodeEmitter.h"
|
#include "llvm/CodeGen/MachineCodeEmitter.h"
|
||||||
#include "llvm/ADT/DenseMap.h"
|
#include "llvm/ADT/DenseMap.h"
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
|
||||||
class MachineBasicBlock;
|
class MachineBasicBlock;
|
||||||
|
@ -128,7 +128,7 @@ namespace {
|
|||||||
return GlobalToIndirectSymMap;
|
return GlobalToIndirectSymMap;
|
||||||
}
|
}
|
||||||
|
|
||||||
pair<void *, Function *> LookupFunctionFromCallSite(
|
std::pair<void *, Function *> LookupFunctionFromCallSite(
|
||||||
const MutexGuard &locked, void *CallSite) const {
|
const MutexGuard &locked, void *CallSite) const {
|
||||||
assert(locked.holds(TheJIT->lock));
|
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
|
// 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.
|
// 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);
|
JR->state.LookupFunctionFromCallSite(locked, Stub);
|
||||||
F = I.second;
|
F = I.second;
|
||||||
ActualPtr = I.first;
|
ActualPtr = I.first;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user