mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-18 11:24:01 +00:00
tidy up.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129032 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -104,7 +104,7 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
void RuntimeDyldImpl::extractFunction(StringRef Name, uint8_t *StartAddress,
|
void RuntimeDyldImpl::extractFunction(StringRef Name, uint8_t *StartAddress,
|
||||||
uint8_t *EndAddress) {
|
uint8_t *EndAddress) {
|
||||||
// Allocate memory for the function via the memory manager.
|
// Allocate memory for the function via the memory manager.
|
||||||
uintptr_t Size = EndAddress - StartAddress + 1;
|
uintptr_t Size = EndAddress - StartAddress + 1;
|
||||||
uint8_t *Mem = MemMgr->startFunctionBody(Name.data(), Size);
|
uint8_t *Mem = MemMgr->startFunctionBody(Name.data(), Size);
|
||||||
|
Reference in New Issue
Block a user