mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2025-12-29 10:45:20 +01:00
block_of_code: Rename alloc to AllocateFromCodeSpace
This commit is contained in:
parent
96e46ba6b5
commit
74a95ea51e
3 changed files with 10 additions and 6 deletions
|
|
@ -141,7 +141,7 @@ void BlockOfCode::GenMemoryAccessors() {
|
|||
CallFunction(cb.MemoryRead32);
|
||||
ABI_PopCallerSaveRegistersAndAdjustStack(this);
|
||||
ret();
|
||||
|
||||
|
||||
align();
|
||||
read_memory_64 = getCurr<const void*>();
|
||||
ABI_PushCallerSaveRegistersAndAdjustStack(this);
|
||||
|
|
@ -227,7 +227,7 @@ void BlockOfCode::nop(size_t size) {
|
|||
}
|
||||
}
|
||||
|
||||
void* BlockOfCode::alloc(size_t alloc_size) {
|
||||
void* BlockOfCode::AllocateFromCodeSpace(size_t alloc_size) {
|
||||
if (size_ + alloc_size >= maxSize_) {
|
||||
throw Xbyak::Error(Xbyak::ERR_CODE_IS_TOO_BIG);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue