Remove InfoVars::data_size (bug 5844 part 2, r=ds).
Remove InfoVars::data_size (
bug 5844 part 2, r=ds).
1.1 --- a/sourcepawn/jit/x86/jit_x86.cpp Sun Aug 11 11:30:27 2013 -0700
1.2 +++ b/sourcepawn/jit/x86/jit_x86.cpp Sun Aug 11 11:31:24 2013 -0700
1.3 @@ -1972,7 +1972,6 @@
1.4 vars.ctx = ctx;
1.5 vars.stp = runtime->plugin()->memory + runtime->plugin()->mem_size;
1.6 vars.cip = fn->GetPCodeAddress();
1.7 - vars.data_size = runtime->plugin()->data_size;
1.8 vars.memory = runtime->plugin()->memory;
1.9 /* vars.esp will be set in the entry code */
1.10
2.1 --- a/sourcepawn/jit/x86/jit_x86.h Sun Aug 11 11:30:27 2013 -0700
2.2 +++ b/sourcepawn/jit/x86/jit_x86.h Sun Aug 11 11:31:24 2013 -0700
2.3 @@ -201,7 +201,6 @@
2.4 sp_context_t *ctx;
2.5 uint8_t *stp;
2.6 ucell_t cip;
2.7 - size_t data_size;
2.8 uint8_t *memory;
2.9 void *esp;
2.10 };
2.11 @@ -212,7 +211,6 @@
2.12 #define AMX_INFO_CONTEXT offsetof(InfoVars, ctx)
2.13 #define AMX_INFO_STACKTOP offsetof(InfoVars, stp)
2.14 #define AMX_INFO_CIP offsetof(InfoVars, cip)
2.15 -#define AMX_INFO_DATASIZE offsetof(InfoVars, data_size)
2.16 #define AMX_INFO_MEMORY offsetof(InfoVars, memory)
2.17 #define AMX_INFO_NSTACK offsetof(InfoVars, esp)
2.18