From b29276e1671dfb1814541c201387da01ac74e81c Mon Sep 17 00:00:00 2001 From: Ben Vanik Date: Sat, 1 Feb 2014 01:13:23 -0800 Subject: [PATCH] Reserve address cleanup. --- src/alloy/backend/ivm/ivm_function.cc | 1 - src/alloy/backend/ivm/ivm_intcode.h | 1 - src/alloy/memory.cc | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/alloy/backend/ivm/ivm_function.cc b/src/alloy/backend/ivm/ivm_function.cc index 8cd6835d6..335dc7c87 100644 --- a/src/alloy/backend/ivm/ivm_function.cc +++ b/src/alloy/backend/ivm/ivm_function.cc @@ -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(); diff --git a/src/alloy/backend/ivm/ivm_intcode.h b/src/alloy/backend/ivm/ivm_intcode.h index 9f361b2f9..d5ba5cfec 100644 --- a/src/alloy/backend/ivm/ivm_intcode.h +++ b/src/alloy/backend/ivm/ivm_intcode.h @@ -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; diff --git a/src/alloy/memory.cc b/src/alloy/memory.cc index 4948d22d6..8b4eaa2e3 100644 --- a/src/alloy/memory.cc +++ b/src/alloy/memory.cc @@ -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;