pike.git / src / interpreter.h

version» Context lines:

pike.git/src/interpreter.h:1:   /*   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: interpreter.h,v 1.79 2002/11/02 15:34:35 grubba Exp $ + || $Id: interpreter.h,v 1.80 2002/11/10 20:19:18 grubba Exp $   */      #undef LOW_GET_ARG   #undef LOW_GET_JUMP   #undef LOW_SKIPJUMP   #undef GET_ARG   #undef GET_ARG2   #undef GET_JUMP   #undef SKIPJUMP   #undef DOJUMP
pike.git/src/interpreter.h:274:    CODE; \    } DONE      #define OPCODE2(OP, DESC, FLAGS, CODE) CASE(OP); { \    INT32 arg1=GET_ARG(); \    INT32 arg2=GET_ARG2(); \    FETCH; \    CODE; \    } DONE    + #define OPCODE0_ALIAS(OP, DESC, FLAGS, FUN) OPCODE0(OP, DESC, FLAGS, {FUN();}) + #define OPCODE1_ALIAS(OP, DESC, FLAGS, FUN) OPCODE1(OP, DESC, FLAGS, {FUN(arg1);}) + #define OPCODE2_ALIAS(OP, DESC, FLAGS, FUN) OPCODE2(OP, DESC, FLAGS, {FUN(arg1, arg2);}) +    #define OPCODE0_TAIL(OP, DESC, FLAGS, CODE) CASE(OP); CODE   #define OPCODE1_TAIL(OP, DESC, FLAGS, CODE) CASE(OP); CODE   #define OPCODE2_TAIL(OP, DESC, FLAGS, CODE) CASE(OP); CODE      #define OPCODE0_RETURN(OP, DESC, FLAGS, CODE) OPCODE0(OP, DESC, FLAGS, CODE)   #define OPCODE1_RETURN(OP, DESC, FLAGS, CODE) OPCODE1(OP, DESC, FLAGS, CODE)   #define OPCODE2_RETURN(OP, DESC, FLAGS, CODE) OPCODE2(OP, DESC, FLAGS, CODE)   #define OPCODE0_TAILRETURN(OP, DESC, FLAGS, CODE) OPCODE0_TAIL(OP, DESC, FLAGS, CODE)   #define OPCODE1_TAILRETURN(OP, DESC, FLAGS, CODE) OPCODE1_TAIL(OP, DESC, FLAGS, CODE)   #define OPCODE2_TAILRETURN(OP, DESC, FLAGS, CODE) OPCODE2_TAIL(OP, DESC, FLAGS, CODE)
pike.git/src/interpreter.h:352:   #undef OPCODE2_RETURN   #undef OPCODE0_TAILRETURN   #undef OPCODE1_TAILRETURN   #undef OPCODE2_TAILRETURN   #undef OPCODE0_BRANCH   #undef OPCODE1_BRANCH   #undef OPCODE2_BRANCH   #undef OPCODE0_TAILBRANCH   #undef OPCODE1_TAILBRANCH   #undef OPCODE2_TAILBRANCH +  /* NOTE: No need to redefine these. +  * #undef OPCODE0_ALIAS +  * #undef OPCODE1_ALIAS +  * #undef OPCODE2_ALIAS +  */   #undef LABEL   #define LABEL(OP) &&PIKE_CONCAT(LABEL_,OP)   #define NULL_LABEL(OP) NULL   #define OPCODE0(OP,DESC) LABEL(OP),   #define OPCODE1(OP,DESC) LABEL(OP),   #define OPCODE2(OP,DESC) LABEL(OP),   #define OPCODE0_TAIL(OP,DESC) LABEL(OP),   #define OPCODE1_TAIL(OP,DESC) LABEL(OP),   #define OPCODE2_TAIL(OP,DESC) LABEL(OP),   #define OPCODE0_JUMP(OP,DESC) LABEL(OP),