Branch: Tag:

2000-04-13

2000-04-13 21:59:35 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

some fixes in the debug

Rev: src/builtin_functions.c:1.257
Rev: src/object.c:1.106

5:   \*/   /**/   #include "global.h" - RCSID("$Id: builtin_functions.c,v 1.256 2000/04/13 19:03:04 grubba Exp $"); + RCSID("$Id: builtin_functions.c,v 1.257 2000/04/13 21:59:35 hubbe Exp $");   #include "interpret.h"   #include "svalue.h"   #include "pike_macros.h"
669:    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;