mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
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:
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user