Branch: Tag:

2017-06-17

2017-06-17 21:03:24 by Martin Nilsson <nilsson@fastmail.com>

Use fast_clone_object instead of low_clone+call_c_initializers

2959:    push_array(res);       for (f = i->frame_pointer; f && size; f = (of = f)->next) { -  struct object *o = low_clone(backtrace_frame_program); +  struct object *o = fast_clone_object(backtrace_frame_program);    struct backtrace_frame_struct *bf;    struct identifier *function = NULL;    -  call_c_initializers(o); -  +     size--;       SET_SVAL(res->item[size], PIKE_T_OBJECT, 0, object, o);