From: Jérémie Astor Date: Sun, 6 Dec 2020 18:55:01 +0000 (+0100) Subject: :art: Fix ref X-Git-Tag: nightly~1122 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=84a7201c339ef0e90ca53c5f9b10116fb8d4d19d;p=gwion.git :art: Fix ref --- diff --git a/src/emit/emit.c b/src/emit/emit.c index 3ee47804..4ce3bfa5 100644 --- a/src/emit/emit.c +++ b/src/emit/emit.c @@ -1605,7 +1605,7 @@ ANN static m_bool _emit_stmt_each(const Emitter emit, const Stmt_Each stmt, m_ui Instr cpy = stmt->is_ptr ? emit_add_instr(emit, MemSetImm) : NULL; emit_local(emit, emit->gwion->type[et_int]); const m_uint offset = emit_local(emit, emit->gwion->type[et_int]); - emit_local(emit, emit->gwion->type[et_int]);//et_int + emit_local(emit, emit->gwion->type[et_int]); stmt->v->from->offset = offset + SZ_INT; const m_uint ini_pc = emit_code_size(emit); emit_except(emit, stmt->exp->info->type);