Branch: Tag:

2000-04-06

2000-04-06 20:17:05 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

better list-walking code...

Rev: src/builtin_functions.c:1.249
Rev: src/mapping.c:1.71
Rev: src/multiset.c:1.17
Rev: src/object.c:1.96
Rev: src/pike_macros.h:1.13
Rev: src/program.c:1.221

5:   \*/   /**/   #include "global.h" - RCSID("$Id: builtin_functions.c,v 1.248 2000/03/27 04:57:53 hubbe Exp $"); + RCSID("$Id: builtin_functions.c,v 1.249 2000/04/06 20:17:05 hubbe Exp $");   #include "interpret.h"   #include "svalue.h"   #include "pike_macros.h"
612:    assign_svalues_no_free(ITEM(i)+3, f->locals, args, BIT_MIXED);    if(f->current_object->prog)    { + #ifdef PIKE_DEBUG +  if(f->fun == FUNCTION_BUILTIN) +  fatal("Builtin function in an object?? (backtrace is confused)\n"); + #endif    ITEM(i)[2].type=T_FUNCTION;    ITEM(i)[2].subtype=f->fun;    ITEM(i)[2].u.object=f->current_object;