Branch: Tag:

2001-12-18

2001-12-18 16:59:47 by Martin Stjernholm <mast@lysator.liu.se>

Do not do _verify_internals when MODULE_TRACE is defined; it kind of
slows things down a bit.. ;)

Rev: lib/master.pike.in:1.184

1:   /* -*- Pike -*-    * -  * $Id: master.pike.in,v 1.183 2001/12/17 11:47:46 grubba Exp $ +  * $Id: master.pike.in,v 1.184 2001/12/18 16:59:47 mast Exp $    *    * Master-file for Pike.    *
835:    {   #ifdef MODULE_TRACE    werror("%*ndirnode(%O,%O);\n",sizeof(backtrace())-1,d,h); -  _verify_internals(); +    // werror(describe_backtrace( ({"HERE\n",backtrace()})));   #endif    dirname=d;
2466:    // looks odd when the repeat message ends the backtrace.    array(string) tail = frames[loop_start + sizeof(frames) ..    loop_next - 1 + sizeof(frames)]; -  if (loops) { -  frames += ({ -  sprintf("... last %d frames above repeated %d times ...\n", -  -loop_start, loops) -  }); -  } +  if (loops) +  frames += ({sprintf("... last %d frames above repeated %d times ...\n", +  -loop_start, loops)});    frames += tail;    }