Branch: Tag:

2000-04-25

2000-04-25 09:32:46 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

some optimizations... (inline now speeds up recursive functions a lot)

Rev: src/docode.c:1.69
Rev: src/interpret.c:1.148
Rev: src/interpret_functions.h:1.16
Rev: src/language.yacc:1.181
Rev: src/las.h:1.35
Rev: src/lex.c:1.78
Rev: src/peep.in:1.29
Rev: src/program.c:1.233

5:   \*/   /**/   #include "global.h" - RCSID("$Id: interpret.c,v 1.147 2000/04/21 23:07:10 hubbe Exp $"); + RCSID("$Id: interpret.c,v 1.148 2000/04/25 09:32:46 hubbe Exp $");   #include "interpret.h"   #include "object.h"   #include "program.h"
1068:    num_locals=EXTRACT_UCHAR(pc++);    num_args=EXTRACT_UCHAR(pc++);    -  /* FIXME: this is only needed if this function contains -  * trampolines -  */ +  if(function->identifier_flags & IDENTIFIER_SCOPED)    new_frame->expendible+=num_locals;       /* adjust arguments on stack */