From: Jérémie Astor Date: Mon, 8 Mar 2021 13:14:49 +0000 (+0100) Subject: :art: Update Ogham X-Git-Tag: nightly~893 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=7cf2818a4df5640748f6f7f46a87ee74ddfb988f;p=gwion.git :art: Update Ogham --- diff --git a/plug b/plug index dc2a0084..4af16b90 160000 --- a/plug +++ b/plug @@ -1 +1 @@ -Subproject commit dc2a0084b6d72f4d616e55f36afe946ba7747d3e +Subproject commit 4af16b90565747cbec90244c9106d48d4b5f5f1d diff --git a/src/emit/emit.c b/src/emit/emit.c index 07689b4e..e618d20b 100644 --- a/src/emit/emit.c +++ b/src/emit/emit.c @@ -302,7 +302,7 @@ ANN static void emit_pre_constructor_array(const Emitter emit, const Type type) regpop(emit, SZ_INT); const Instr pc = emit_add_instr(emit, Goto); pc->m_val = start_index; - top->m_val = emit_code_size(emit); + top->m_val = emit_code_size(emit) - !!emit->env->func; regpop(emit, SZ_INT*3); emit_add_instr(emit, ArrayPost); }