Branch: Tag:

2001-07-27

2001-07-27 15:02:05 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added OPCODE[0-2]_{,TAIL}RETURN() to simplify JIT handling.

Rev: src/interpret.c:1.236
Rev: src/interpret_functions.h:1.84
Rev: src/interpreter.h:1.72
Rev: src/lex.c:1.100
Rev: src/opcodes.h:1.23

5:   \*/   /**/   #include "global.h" - RCSID("$Id: interpret.c,v 1.235 2001/07/27 08:32:03 hubbe Exp $"); + RCSID("$Id: interpret.c,v 1.236 2001/07/27 15:02:03 grubba Exp $");   #include "interpret.h"   #include "object.h"   #include "program.h"
809:   #define OPCODE1_TAILJUMP(O,N,C) OPCODE1(O,N,C)   #define OPCODE2_TAILJUMP(O,N,C) OPCODE2(O,N,C)    + #define OPCODE0_RETURN(O,N,C) OPCODE0(O,N,C) + #define OPCODE1_RETURN(O,N,C) OPCODE1(O,N,C) + #define OPCODE2_RETURN(O,N,C) OPCODE2(O,N,C) +  + #define OPCODE0_RETURNJUMP(O,N,C) OPCODE0(O,N,C) + #define OPCODE1_RETURNJUMP(O,N,C) OPCODE1(O,N,C) + #define OPCODE2_RETURNJUMP(O,N,C) OPCODE2(O,N,C) +    #undef HAVE_COMPUTED_GOTO      #ifdef __GNUC__