| branch | refac-jit |
| changeset 2175 | 54a8411faaac |
| parent 2168 | c24a6fa957db |
| child 2187 | 592fafd2b29e |
1.1 --- a/core/smn_string.cpp Mon Jul 07 06:24:54 2008 +0000 1.2 +++ b/core/smn_string.cpp Mon Jul 07 06:25:15 2008 +0000 1.3 @@ -234,7 +234,7 @@ 1.4 1.5 /* Get the parent parameter array */ 1.6 sp_context_t *ctx = pContext->GetContext(); 1.7 - cell_t *local_params = (cell_t *)(ctx->memory + ctx->frm + (2 * sizeof(cell_t))); 1.8 + cell_t *local_params = pContext->GetLocalParams(); 1.9 1.10 cell_t max = local_params[0]; 1.11 if (vargPos > (int)max + 1)