Branch: Tag:

2019-08-22

2019-08-22 09:05:48 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Runtime: F_FILL_STACK now knows about MALLOCED_LOCALS.

2932:    addr += ENTRY_PROLOGUE_SIZE;    SET_PROG_COUNTER(addr);    +  /* FIXME: What about MALLOCED_LOCALS? */    if(Pike_sp-args != Pike_fp->locals)    {    DO_IF_DEBUG({
3070:    });      OPCODE2(F_FILL_STACK, "fill_stack", I_UPDATE_SP, { +  if (!(Pike_fp->flags & PIKE_FRAME_MALLOCED_LOCALS)) {    INT32 tmp = (Pike_fp->locals + arg1) - Pike_sp;    if (tmp > 0) {    if (arg2) {
3078:    push_zeroes(tmp);    }    } +  }    });      OPCODE1(F_MARK_AT, "mark_at", I_UPDATE_SP, { -  +  /* FIXME: What about MALLOCED_LOCALS? */    *(Pike_mark_sp++) = Pike_fp->locals + arg1;    });