Tidy up a bit now that we're using the MemoryManager interface.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129328 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jim Grosbach
2011-04-12 00:23:32 +00:00
parent 163b6eaf25
commit 7cbf92d1d9
3 changed files with 22 additions and 19 deletions

View File

@@ -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();
}