summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2011-04-12 00:23:32 +0000
committerJim Grosbach <grosbach@apple.com>2011-04-12 00:23:32 +0000
commit3ed03f18d1c4e8ee78e8568f9f0ee34d56d0aef8 (patch)
treea3782b93fc7ec051da6bd52ca116f1118f559631 /llvm/lib/ExecutionEngine
parentf130b7f0f550af20e975fc001e2ba26c748eeab4 (diff)
downloadbcm5719-llvm-3ed03f18d1c4e8ee78e8568f9f0ee34d56d0aef8.tar.gz
bcm5719-llvm-3ed03f18d1c4e8ee78e8568f9f0ee34d56d0aef8.zip
Tidy up a bit now that we're using the MemoryManager interface.
llvm-svn: 129328
Diffstat (limited to 'llvm/lib/ExecutionEngine')
-rw-r--r--llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
index 5084b9664d1..dbb83faaa01 100644
--- a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
+++ b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
@@ -51,7 +51,7 @@ class RuntimeDyldImpl {
// FIXME: Should have multiple data blocks, one for each loaded chunk of
// compiled code.
- sys::MemoryBlock Data;
+// sys::MemoryBlock Data;
bool HasError;
std::string ErrorStr;
@@ -91,8 +91,6 @@ public:
return Functions.lookup(Name).base();
}
- sys::MemoryBlock getMemoryBlock() { return Data; }
-
// Is the linker in an error state?
bool hasError() { return HasError; }
@@ -528,10 +526,6 @@ void *RuntimeDyld::getSymbolAddress(StringRef Name) {
return Dyld->getSymbolAddress(Name);
}
-sys::MemoryBlock RuntimeDyld::getMemoryBlock() {
- return Dyld->getMemoryBlock();
-}
-
StringRef RuntimeDyld::getErrorString() {
return Dyld->getErrorString();
}
OpenPOWER on IntegriCloud