Reserve address cleanup.
This commit is contained in:
parent
91a43a0ab6
commit
b29276e167
|
@ -115,7 +115,6 @@ int IVMFunction::CallImpl(ThreadState* thread_state) {
|
|||
ics.rf = register_file;
|
||||
ics.context = (uint8_t*)thread_state->raw_context();
|
||||
ics.membase = memory->membase();
|
||||
ics.reserve_address = memory->reserve_address();
|
||||
ics.did_carry = 0;
|
||||
ics.did_saturate = 0;
|
||||
ics.access_callbacks = thread_state->runtime()->access_callbacks();
|
||||
|
|
|
@ -43,7 +43,6 @@ typedef struct {
|
|||
Register* rf;
|
||||
uint8_t* context;
|
||||
uint8_t* membase;
|
||||
uint32_t* reserve_address;
|
||||
int8_t did_carry;
|
||||
int8_t did_saturate;
|
||||
runtime::RegisterAccessCallbacks* access_callbacks;
|
||||
|
|
|
@ -13,7 +13,7 @@ using namespace alloy;
|
|||
|
||||
|
||||
Memory::Memory() :
|
||||
membase_(0) {
|
||||
membase_(0), reserve_address_(0) {
|
||||
SYSTEM_INFO si;
|
||||
GetSystemInfo(&si);
|
||||
system_page_size_ = si.dwPageSize;
|
||||
|
|
Loading…
Reference in New Issue