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: lex.c,v 1.99 2001/07/24 13:51:53 grubba Exp $"); + RCSID("$Id: lex.c,v 1.100 2001/07/27 15:02:05 grubba Exp $");   #include "language.h"   #include "array.h"   #include "lex.h"
165:   #define OPCODE1_TAILJUMP(OP,DESC) void PIKE_CONCAT(opcode_,OP)(INT32);   #define OPCODE2_TAILJUMP(OP,DESC) void PIKE_CONCAT(opcode_,OP)(INT32,INT32);    + #define OPCODE0_RETURN(OP, DESC) OPCODE0(OP, DESC) + #define OPCODE1_RETURN(OP, DESC) OPCODE1(OP, DESC) + #define OPCODE2_RETURN(OP, DESC) OPCODE2(OP, DESC) + #define OPCODE0_TAILRETURN(OP, DESC) OPCODE0_TAIL(OP, DESC) + #define OPCODE1_TAILRETURN(OP, DESC) OPCODE1_TAIL(OP, DESC) + #define OPCODE2_TAILRETURN(OP, DESC) OPCODE2_TAIL(OP, DESC) +    #include "interpret_protos.h"      #undef OPCODE0