Branch: Tag:

2015-05-21

2015-05-21 17:23:53 by Tobias S. Josefowitz <tobij@tobij.de>

destructedp, zero_type: detect trampolines referencing destructed objects

1552:    if(args < 1)    SIMPLE_TOO_FEW_ARGS_ERROR("zero_type",1);    -  if((Pike_sp[-args].type==T_OBJECT || Pike_sp[-args].type==T_FUNCTION) -  && !Pike_sp[-args].u.object->prog) +  if(IS_DESTRUCTED(Pike_sp-args))    {    pop_n_elems(args);    push_int(NUMBER_DESTRUCTED);