From c09c65e4c70ea1a8a20adbc7d0b11e04087cbd95 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 24 Feb 2015 21:35:22 -0800 Subject: [PATCH] Remove sp_context_t::plugin. --- sourcepawn/jit/jit_shared.h | 1 - sourcepawn/jit/plugin-context.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/sourcepawn/jit/jit_shared.h b/sourcepawn/jit/jit_shared.h index e197d9a6..6e918f39 100644 --- a/sourcepawn/jit/jit_shared.h +++ b/sourcepawn/jit/jit_shared.h @@ -72,7 +72,6 @@ class PluginContext; typedef struct sp_context_s { - sp_plugin_t *plugin; } sp_context_t; //#define SPFLAG_PLUGIN_DEBUG (1<<0) diff --git a/sourcepawn/jit/plugin-context.cpp b/sourcepawn/jit/plugin-context.cpp index 704a1e43..0754f40c 100644 --- a/sourcepawn/jit/plugin-context.cpp +++ b/sourcepawn/jit/plugin-context.cpp @@ -61,7 +61,6 @@ PluginContext::PluginContext(PluginRuntime *pRuntime) tracker_.pBase = (ucell_t *)malloc(1024); tracker_.pCur = tracker_.pBase; tracker_.size = 1024 / sizeof(cell_t); - m_ctx.plugin = const_cast(pRuntime->plugin()); } PluginContext::~PluginContext()