Branch: Tag:

2001-07-21

2001-07-21 09:30:26 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

added an optional macro called at labels

Rev: src/code/README.txt:1.5
Rev: src/peep.c:1.63

19:   #include "interpret.h"   #include "pikecode.h"    - RCSID("$Id: peep.c,v 1.62 2001/07/20 12:44:49 grubba Exp $"); + RCSID("$Id: peep.c,v 1.63 2001/07/21 09:30:25 hubbe Exp $");      static void asm_opt(void);   
134:    p[instr].arg=arg;   }    + #ifndef FLUSH_CODE_GENERATOR_STATE + #define FLUSH_CODE_GENERATOR_STATE() + #endif    -  +    /**** Bytecode Generator *****/      void assemble(void)
255: Inside #if defined(PIKE_DEBUG)
  #ifdef PIKE_DEBUG    synch_depth = 0;   #endif +  FLUSH_CODE_GENERATOR_STATE();    for(e=0;e<length;e++)    {    int linenumbers_stored=0;
302:   #endif    labels[c->arg] = DO_NOT_WARN((INT32)PC);    UPDATE_PC(); +  FLUSH_CODE_GENERATOR_STATE();    break;       case F_VOLATILE_RETURN: