pike.git / src / interpreter.h

version» Context lines:

pike.git/src/interpreter.h:1: +    #undef GET_ARG   #undef GET_ARG2      #ifdef PIKE_DEBUG      #define GET_ARG() (backlog[backlogp].arg=(\    instr=prefix,\    prefix=0,\    instr+=EXTRACT_UCHAR(pc++),\    (t_flag>3 ? sprintf(trace_buffer,"- Arg = %ld\n",(long)instr),write_to_stderr(trace_buffer,strlen(trace_buffer)) : 0),\
pike.git/src/interpreter.h:144:   #define INTERPRETER      #define OPCODE0(OP,DESC) CASE(OP); {   #define OPCODE1(OP,DESC) CASE(OP); { \    INT32 arg1=GET_ARG();      #define OPCODE2(OP,DESC) CASE(OP); { \    INT32 arg1=GET_ARG(); \    INT32 arg2=GET_ARG2();    +    #define OPCODE0_TAIL(OP,DESC) CASE(OP);   #define OPCODE1_TAIL(OP,DESC) CASE(OP);   #define OPCODE2_TAIL(OP,DESC) CASE(OP);    -  + #define OPCODE0_JUMP(OP,DESC) CASE(OP); {    -  + /* These are something of a special case as they +  * requires a POINTER stored explicitly after +  * the instruction itself. +  */ + #define OPCODE1_JUMP(OP,DESC) CASE(OP); { \ +  INT32 arg1=GET_ARG(); \ +  + #define OPCODE2_JUMP(OP,DESC) CASE(OP); { \ +  INT32 arg1=GET_ARG(); \ +  INT32 arg2=GET_ARG2(); +  + #define OPCODE0_TAILJUMP(OP,DESC) CASE(OP); + #define OPCODE1_TAILJUMP(OP,DESC) CASE(OP); + #define OPCODE2_TAILJUMP(OP,DESC) CASE(OP); +  +  +    #define BREAK break; }      #include "interpret_functions.h"       default:    fatal("Strange instruction %ld\n",(long)instr);    }       }   }