Branch: Tag:

2014-12-04

2014-12-04 19:23:40 by Per Hedbor <ph@opera.com>

basic_low_return, then pop. In theroy there should be no difference, really

2526:    add_ref (o);   #endif    -  stack_pop_n_elems_keep_top (Pike_sp - save_sp); +     basic_low_return (save_sp); -  /* consider using a flag for immediate destruct instead... */ +  +  stack_pop_n_elems_keep_top (Pike_sp - save_sp);    { -  +  /* consider using a flag for immediate destruct instead... */    extern struct object *objects_to_destruct;    if( objects_to_destruct )    destruct_objects_to_destruct();
2573:       basic_low_return (save_sp);    -  if(save_sp < Pike_sp) -  { +     pop_n_elems(Pike_sp-save_sp);    /* consider using a flag for immediate destruct instead... */    destruct_objects_to_destruct(); -  } +       #if defined (PIKE_USE_MACHINE_CODE) && defined (OPCODE_RETURN_JUMPADDR)    free_object (o);