diff --git a/sourcepawn/jit/jit_shared.h b/sourcepawn/jit/jit_shared.h index 945fc77d..e197d9a6 100644 --- a/sourcepawn/jit/jit_shared.h +++ b/sourcepawn/jit/jit_shared.h @@ -72,7 +72,6 @@ class PluginContext; typedef struct sp_context_s { - cell_t rval; /**< Return value from InvokeFunction() */ sp_plugin_t *plugin; } sp_context_t; diff --git a/sourcepawn/jit/x86/jit_x86.cpp b/sourcepawn/jit/x86/jit_x86.cpp index b06a8548..b66643f3 100644 --- a/sourcepawn/jit/x86/jit_x86.cpp +++ b/sourcepawn/jit/x86/jit_x86.cpp @@ -1206,8 +1206,6 @@ Compiler::emitOp(OPCODE op) case OP_HALT: __ align(16); - __ movl(tmp, intptr_t(rt_->GetBaseContext()->GetCtx())); - __ movl(Operand(tmp, offsetof(sp_context_t, rval)), pri); __ movl(pri, readCell()); __ jmp(&extern_error_); break;