summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Alpha/AlphaJITInfo.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-06-25 18:13:04 +0000
committerOwen Anderson <resistor@mac.com>2009-06-25 18:13:04 +0000
commit3f76e6f83501963eec7491d4cb08c076e16c941c (patch)
tree82e37b5b4575f371a392a98db65811776ff430ed /llvm/lib/Target/Alpha/AlphaJITInfo.cpp
parent021c3b07564c38e4161a9a613260fe8cac4a343b (diff)
downloadbcm5719-llvm-3f76e6f83501963eec7491d4cb08c076e16c941c.tar.gz
bcm5719-llvm-3f76e6f83501963eec7491d4cb08c076e16c941c.zip
Privatize this map.
llvm-svn: 74189
Diffstat (limited to 'llvm/lib/Target/Alpha/AlphaJITInfo.cpp')
-rw-r--r--llvm/lib/Target/Alpha/AlphaJITInfo.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/Target/Alpha/AlphaJITInfo.cpp b/llvm/lib/Target/Alpha/AlphaJITInfo.cpp
index 3fecb19d73b..ba7478e90ec 100644
--- a/llvm/lib/Target/Alpha/AlphaJITInfo.cpp
+++ b/llvm/lib/Target/Alpha/AlphaJITInfo.cpp
@@ -19,7 +19,6 @@
#include "llvm/Config/alloca.h"
#include "llvm/Support/Debug.h"
#include <cstdlib>
-#include <map>
using namespace llvm;
#define BUILD_OFormatI(Op, RA, LIT, FUN, RC) \
@@ -237,11 +236,6 @@ static long getLower16(long l)
void AlphaJITInfo::relocate(void *Function, MachineRelocation *MR,
unsigned NumRelocs, unsigned char* GOTBase) {
- //because gpdist are paired and relative to the pc of the first inst,
- //we need to have some state
-
- static std::map<std::pair<void*, int>, void*> gpdistmap;
-
for (unsigned i = 0; i != NumRelocs; ++i, ++MR) {
unsigned *RelocPos = (unsigned*)Function + MR->getMachineCodeOffset()/4;
long idx = 0;
OpenPOWER on IntegriCloud