From: Jérémie Astor Date: Tue, 12 May 2020 17:31:13 +0000 (+0200) Subject: :bug: Put Vararg in shred->mem X-Git-Tag: nightly~1574 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=546d893a07dafeb436708a45f33bf409f9328bfb;p=gwion.git :bug: Put Vararg in shred->mem --- diff --git a/src/lib/vararg.c b/src/lib/vararg.c index 2d252686..590355ab 100644 --- a/src/lib/vararg.c +++ b/src/lib/vararg.c @@ -76,7 +76,7 @@ INSTR(VarargIni) { } arg->s = vector_size(kinds); *(struct Vararg_**)o->data = arg; - *(M_Object*)REG(-SZ_INT) = o; + *(M_Object*)MEM(shred->code->stack_depth) = *(M_Object*)REG(-SZ_INT) = o; } static INSTR(VarargEnd) {