Reserve address cleanup.

This commit is contained in:
Ben Vanik 2014-02-01 01:13:23 -08:00
parent 91a43a0ab6
commit b29276e167
3 changed files with 1 additions and 3 deletions

View File

@ -115,7 +115,6 @@ int IVMFunction::CallImpl(ThreadState* thread_state) {
ics.rf = register_file; ics.rf = register_file;
ics.context = (uint8_t*)thread_state->raw_context(); ics.context = (uint8_t*)thread_state->raw_context();
ics.membase = memory->membase(); ics.membase = memory->membase();
ics.reserve_address = memory->reserve_address();
ics.did_carry = 0; ics.did_carry = 0;
ics.did_saturate = 0; ics.did_saturate = 0;
ics.access_callbacks = thread_state->runtime()->access_callbacks(); ics.access_callbacks = thread_state->runtime()->access_callbacks();

View File

@ -43,7 +43,6 @@ typedef struct {
Register* rf; Register* rf;
uint8_t* context; uint8_t* context;
uint8_t* membase; uint8_t* membase;
uint32_t* reserve_address;
int8_t did_carry; int8_t did_carry;
int8_t did_saturate; int8_t did_saturate;
runtime::RegisterAccessCallbacks* access_callbacks; runtime::RegisterAccessCallbacks* access_callbacks;

View File

@ -13,7 +13,7 @@ using namespace alloy;
Memory::Memory() : Memory::Memory() :
membase_(0) { membase_(0), reserve_address_(0) {
SYSTEM_INFO si; SYSTEM_INFO si;
GetSystemInfo(&si); GetSystemInfo(&si);
system_page_size_ = si.dwPageSize; system_page_size_ = si.dwPageSize;