From 4255ee105f15115af904e5b95e99531e3ed27d56 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sun, 11 Aug 2013 11:31:24 -0700 Subject: [PATCH] Remove InfoVars::data_size (bug 5844 part 2, r=ds). --- sourcepawn/jit/x86/jit_x86.cpp | 1 - sourcepawn/jit/x86/jit_x86.h | 2 -- 2 files changed, 3 deletions(-) diff --git a/sourcepawn/jit/x86/jit_x86.cpp b/sourcepawn/jit/x86/jit_x86.cpp index 67becf86..6d2ffdc7 100644 --- a/sourcepawn/jit/x86/jit_x86.cpp +++ b/sourcepawn/jit/x86/jit_x86.cpp @@ -1972,7 +1972,6 @@ int JITX86::InvokeFunction(BaseRuntime *runtime, JitFunction *fn, cell_t *result vars.ctx = ctx; vars.stp = runtime->plugin()->memory + runtime->plugin()->mem_size; vars.cip = fn->GetPCodeAddress(); - vars.data_size = runtime->plugin()->data_size; vars.memory = runtime->plugin()->memory; /* vars.esp will be set in the entry code */ diff --git a/sourcepawn/jit/x86/jit_x86.h b/sourcepawn/jit/x86/jit_x86.h index f70e945c..a3754561 100644 --- a/sourcepawn/jit/x86/jit_x86.h +++ b/sourcepawn/jit/x86/jit_x86.h @@ -201,7 +201,6 @@ struct InfoVars { sp_context_t *ctx; uint8_t *stp; ucell_t cip; - size_t data_size; uint8_t *memory; void *esp; }; @@ -212,7 +211,6 @@ struct InfoVars { #define AMX_INFO_CONTEXT offsetof(InfoVars, ctx) #define AMX_INFO_STACKTOP offsetof(InfoVars, stp) #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_NSTACK offsetof(InfoVars, esp)