Branch: Tag:

2001-07-09

2001-07-09 14:19:16 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Almost working computed goto mode.

Rev: src/interpret.c:1.218
Rev: src/interpreter.h:1.64
Rev: src/lex.c:1.96
Rev: src/lex.h:1.18
Rev: src/peep.c:1.53
Rev: src/program.h:1.136

5:   \*/      /* -  * $Id: program.h,v 1.135 2001/07/09 11:37:19 grubba Exp $ +  * $Id: program.h,v 1.136 2001/07/09 14:19:16 grubba Exp $    */   #ifndef PROGRAM_H   #define PROGRAM_H
30:   #ifdef HAVE_COMPUTED_GOTO   #define PIKE_OPCODE_T void *   extern PIKE_OPCODE_T *fcode_to_opcode; + extern struct op_2_f { +  PIKE_OPCODE_T opcode; +  INT32 fcode; + } *opcode_to_fcode;   #else /* !HAVE_COMPUTED_GOTO */   #ifdef SHORT_PIKE_OPCODE   #define PIKE_OPCODE_T unsigned INT16