Branch: Tag:

2019-12-01

2019-12-01 14:51:48 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Runtime: More use of QUICK_FIND_LFUN().

3094:    * to allow the user to set and clear that flag while the program is    * being built. */    if (!(p->flags & PROGRAM_LIVE_OBJ)) { -  int e, destruct = p->lfuns[LFUN__DESTRUCT]; +  int e, destruct = QUICK_FIND_LFUN(p, LFUN__DESTRUCT);    if (destruct > -1) {    struct identifier *id = ID_FROM_INT (p, destruct);    if (!IDENTIFIER_IS_PIKE_FUNCTION (id->identifier_flags) ||
4638:    {    int id;    if(Pike_compiler->new_program->inherits[e].inherit_level!=1) continue; -  id = Pike_compiler->new_program->inherits[e].prog->lfuns[LFUN___INIT]; +  id = QUICK_FIND_LFUN(Pike_compiler->new_program->inherits[e].prog, +  LFUN___INIT);    id = really_low_reference_inherited_identifier(0, e, id);    if(id!=-1)    {