mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +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/ADT/DenseMap.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
namespace llvm {
|
||||
|
||||
class MachineBasicBlock;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user