summaryrefslogtreecommitdiffstats
path: root/llvm/tools/lli/RemoteMemoryManager.cpp
diff options
context:
space:
mode:
authorAndrew Kaylor <andrew.kaylor@intel.com>2013-10-04 20:53:49 +0000
committerAndrew Kaylor <andrew.kaylor@intel.com>2013-10-04 20:53:49 +0000
commit217308086de51b02dc7e27f5aa04e13c30072b34 (patch)
tree895d50f055d6119fe54a43478c535f103ded9fe5 /llvm/tools/lli/RemoteMemoryManager.cpp
parent55504b4ac9528324f5aeb6f65e830ca3851d8298 (diff)
downloadbcm5719-llvm-217308086de51b02dc7e27f5aa04e13c30072b34.tar.gz
bcm5719-llvm-217308086de51b02dc7e27f5aa04e13c30072b34.zip
Attempting to fix lli build error
llvm-svn: 191979
Diffstat (limited to 'llvm/tools/lli/RemoteMemoryManager.cpp')
-rw-r--r--llvm/tools/lli/RemoteMemoryManager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/tools/lli/RemoteMemoryManager.cpp b/llvm/tools/lli/RemoteMemoryManager.cpp
index afc804d63da..8ccfde8fc77 100644
--- a/llvm/tools/lli/RemoteMemoryManager.cpp
+++ b/llvm/tools/lli/RemoteMemoryManager.cpp
@@ -90,7 +90,7 @@ void RemoteMemoryManager::notifyObjectLoaded(ExecutionEngine *EE,
// all the data sections.
uint64_t CurOffset = 0;
unsigned MaxAlign = Target->getPageAlignment();
- SmallVector<std::pair<Allocation&, uint64_t>, 16> Offsets;
+ SmallVector<std::pair<Allocation, uint64_t>, 16> Offsets;
unsigned NumSections = UnmappedSections.size();
// We're going to go through the list twice to separate code and data, but
// it's a very small list, so that's OK.
@@ -105,7 +105,7 @@ void RemoteMemoryManager::notifyObjectLoaded(ExecutionEngine *EE,
// section.
CurOffset = (CurOffset + Align - 1) / Align * Align;
// Save off the address of the new section and allocate its space.
- Offsets.push_back(std::pair<Allocation&,uint64_t>(Section, CurOffset));
+ Offsets.push_back(std::pair<Allocation,uint64_t>(Section, CurOffset));
CurOffset += Size;
}
}
@@ -122,7 +122,7 @@ void RemoteMemoryManager::notifyObjectLoaded(ExecutionEngine *EE,
// section.
CurOffset = (CurOffset + Align - 1) / Align * Align;
// Save off the address of the new section and allocate its space.
- Offsets.push_back(std::pair<Allocation&,uint64_t>(Section, CurOffset));
+ Offsets.push_back(std::pair<Allocation,uint64_t>(Section, CurOffset));
CurOffset += Size;
}
}
OpenPOWER on IntegriCloud