Remove InfoVars::data_size (bug 5844 part 2, r=ds).
This commit is contained in:
parent
e3c45bd1f7
commit
4255ee105f
@ -1972,7 +1972,6 @@ int JITX86::InvokeFunction(BaseRuntime *runtime, JitFunction *fn, cell_t *result
|
|||||||
vars.ctx = ctx;
|
vars.ctx = ctx;
|
||||||
vars.stp = runtime->plugin()->memory + runtime->plugin()->mem_size;
|
vars.stp = runtime->plugin()->memory + runtime->plugin()->mem_size;
|
||||||
vars.cip = fn->GetPCodeAddress();
|
vars.cip = fn->GetPCodeAddress();
|
||||||
vars.data_size = runtime->plugin()->data_size;
|
|
||||||
vars.memory = runtime->plugin()->memory;
|
vars.memory = runtime->plugin()->memory;
|
||||||
/* vars.esp will be set in the entry code */
|
/* vars.esp will be set in the entry code */
|
||||||
|
|
||||||
|
@ -201,7 +201,6 @@ struct InfoVars {
|
|||||||
sp_context_t *ctx;
|
sp_context_t *ctx;
|
||||||
uint8_t *stp;
|
uint8_t *stp;
|
||||||
ucell_t cip;
|
ucell_t cip;
|
||||||
size_t data_size;
|
|
||||||
uint8_t *memory;
|
uint8_t *memory;
|
||||||
void *esp;
|
void *esp;
|
||||||
};
|
};
|
||||||
@ -212,7 +211,6 @@ struct InfoVars {
|
|||||||
#define AMX_INFO_CONTEXT offsetof(InfoVars, ctx)
|
#define AMX_INFO_CONTEXT offsetof(InfoVars, ctx)
|
||||||
#define AMX_INFO_STACKTOP offsetof(InfoVars, stp)
|
#define AMX_INFO_STACKTOP offsetof(InfoVars, stp)
|
||||||
#define AMX_INFO_CIP offsetof(InfoVars, cip)
|
#define AMX_INFO_CIP offsetof(InfoVars, cip)
|
||||||
#define AMX_INFO_DATASIZE offsetof(InfoVars, data_size)
|
|
||||||
#define AMX_INFO_MEMORY offsetof(InfoVars, memory)
|
#define AMX_INFO_MEMORY offsetof(InfoVars, memory)
|
||||||
#define AMX_INFO_NSTACK offsetof(InfoVars, esp)
|
#define AMX_INFO_NSTACK offsetof(InfoVars, esp)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user