Skip to content
Snippets Groups Projects
Select Git revision
2 results Searching

ChangeLog.1

Blame
  • To find the state of this project's repository at the time of any of these versions, check out the tags.
    interpret_functions.h 79.04 KiB
    /*
    || 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.
    */
    
    /*
     * Opcode definitions for the interpreter.
     */
    
    #include "global.h"
    
    #undef CJUMP
    #undef AUTO_BIGNUM_LOOP_TEST
    #undef LOOP
    #undef COMPARISON
    #undef MKAPPLY
    #undef DO_CALL_BUILTIN
    
    #undef DO_IF_BIGNUM
    #ifdef AUTO_BIGNUM
    #define DO_IF_BIGNUM(CODE)	CODE
    #else /* !AUTO_BIGNUM */
    #define DO_IF_BIGNUM(CODE)
    #endif /* AUTO_BIGNUM */
    
    #undef DO_IF_ELSE_COMPUTED_GOTO
    #ifdef HAVE_COMPUTED_GOTO
    #define DO_IF_ELSE_COMPUTED_GOTO(A, B)	(A)
    #else /* !HAVE_COMPUTED_GOTO */
    #define DO_IF_ELSE_COMPUTED_GOTO(A, B)	(B)
    #endif /* HAVE_COMPUTED_GOTO */
    
    #ifdef GEN_PROTOS
    /* Used to generate the interpret_protos.h file. */
    #define OPCODE0(A, B, F, C)		OPCODE0(A, B, F) --- C
    #define OPCODE1(A, B, F, C)		OPCODE1(A, B, F) --- C
    #define OPCODE2(A, B, F, C)		OPCODE2(A, B, F) --- C
    #define OPCODE0_TAIL(A, B, F, C)	OPCODE0_TAIL(A, B, F) --- C
    #define OPCODE1_TAIL(A, B, F, C)	OPCODE1_TAIL(A, B, F) --- C
    #define OPCODE2_TAIL(A, B, F, C)	OPCODE2_TAIL(A, B, F) --- C
    #define OPCODE0_JUMP(A, B, F, C)	OPCODE0_JUMP(A, B, F) --- C
    #define OPCODE1_JUMP(A, B, F, C)	OPCODE1_JUMP(A, B, F) --- C
    #define OPCODE2_JUMP(A, B, F, C)	OPCODE2_JUMP(A, B, F) --- C
    #define OPCODE0_TAILJUMP(A, B, F, C)	OPCODE0_TAILJUMP(A, B, F) --- C
    #define OPCODE1_TAILJUMP(A, B, F, C)	OPCODE1_TAILJUMP(A, B, F) --- C
    #define OPCODE2_TAILJUMP(A, B, F, C)	OPCODE2_TAILJUMP(A, B, F) --- C
    #define OPCODE0_PTRJUMP(A, B, F, C)	OPCODE0_PTRJUMP(A, B, F) --- C
    #define OPCODE1_PTRJUMP(A, B, F, C)	OPCODE1_PTRJUMP(A, B, F) --- C
    #define OPCODE2_PTRJUMP(A, B, F, C)	OPCODE2_PTRJUMP(A, B, F) --- C
    #define OPCODE0_TAILPTRJUMP(A, B, F, C)	OPCODE0_TAILPTRJUMP(A, B, F) --- C
    #define OPCODE1_TAILPTRJUMP(A, B, F, C)	OPCODE1_TAILPTRJUMP(A, B, F) --- C
    #define OPCODE2_TAILPTRJUMP(A, B, F, C)	OPCODE2_TAILPTRJUMP(A, B, F) --- C
    #define OPCODE0_RETURN(A, B, F, C)	OPCODE0_RETURN(A, B, F) --- C
    #define OPCODE1_RETURN(A, B, F, C)	OPCODE1_RETURN(A, B, F) --- C
    #define OPCODE2_RETURN(A, B, F, C)	OPCODE2_RETURN(A, B, F) --- C
    #define OPCODE0_TAILRETURN(A, B, F, C)	OPCODE0_TAILRETURN(A, B, F) --- C
    #define OPCODE1_TAILRETURN(A, B, F, C)	OPCODE1_TAILRETURN(A, B, F) --- C
    #define OPCODE2_TAILRETURN(A, B, F, C)	OPCODE2_TAILRETURN(A, B, F) --- C
    #define OPCODE0_BRANCH(A, B, F, C)	OPCODE0_BRANCH(A, B, F) --- C
    #define OPCODE1_BRANCH(A, B, F, C)	OPCODE1_BRANCH(A, B, F) --- C
    #define OPCODE2_BRANCH(A, B, F, C)	OPCODE2_BRANCH(A, B, F) --- C
    #define OPCODE0_TAILBRANCH(A, B, F, C)	OPCODE0_TAILBRANCH(A, B, F) --- C
    #define OPCODE1_TAILBRANCH(A, B, F, C)	OPCODE1_TAILBRANCH(A, B, F) --- C
    #define OPCODE2_TAILBRANCH(A, B, F, C)	OPCODE2_TAILBRANCH(A, B, F) --- C
    #define OPCODE0_ALIAS(A, B, F, C)	OPCODE0_ALIAS(A, B, F, C) --- FOO
    #define OPCODE1_ALIAS(A, B, F, C)	OPCODE1_ALIAS(A, B, F, C) --- FOO
    #define OPCODE2_ALIAS(A, B, F, C)	OPCODE2_ALIAS(A, B, F, C) --- FOO
    #endif /* GEN_PROTOS */