From 2090797791ee83e7d36d6d517f6aec1ce21b3507 Mon Sep 17 00:00:00 2001 From: pm Date: Thu, 16 Aug 2007 06:53:26 +0000 Subject: [PATCH] * src/vm/jit/trace (_array_load_param) [SIZEOF_VOID_P == 8]: Bugfix, forgotten obsolete stack_offset. --- src/vm/jit/trace.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vm/jit/trace.c b/src/vm/jit/trace.c index 714892a03..238f439cf 100644 --- a/src/vm/jit/trace.c +++ b/src/vm/jit/trace.c @@ -22,7 +22,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - $Id: trace.c 8304 2007-08-14 19:57:20Z pm $ + $Id: trace.c 8317 2007-08-16 06:53:26Z pm $ */ @@ -71,7 +71,7 @@ static imm_union _array_load_param(paramdesc *pd, typedesc *td, uint64_t *arg_re case TYPE_ADR: if (pd->inmemory) { #if (SIZEOF_VOID_P == 8) - ret.l = (int64_t)stack[pd->index + stack_offset]; + ret.l = (int64_t)stack[pd->index]; #else ret.l = *(int32_t *)(stack + pd->index); #endif -- 2.25.1