1.1 --- a/sourcepawn/jit/BaseRuntime.cpp Thu Jul 10 05:42:10 2008 +0000
1.2 +++ b/sourcepawn/jit/BaseRuntime.cpp Fri Jul 11 05:14:32 2008 +0000
1.3 @@ -52,7 +52,7 @@
1.4
1.5 void BaseRuntime::ClearCompile()
1.6 {
1.7 - g_Jit1.FreeContextVars(m_pCtx->GetContext());
1.8 + g_Jit1.FreeContextVars(m_pCtx->GetCtx());
1.9 g_Jit1.FreePluginVars(m_pPlugin);
1.10 }
1.11
1.12 @@ -349,3 +349,9 @@
1.13
1.14 return mem;
1.15 }
1.16 +
1.17 +BaseContext *BaseRuntime::GetBaseContext()
1.18 +{
1.19 + return m_pCtx;
1.20 +}
1.21 +