pike.git / src / program.h

version» Context lines:

pike.git/src/program.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: program.h,v 1.191 2003/11/18 11:19:42 grubba Exp $ + || $Id: program.h,v 1.192 2003/11/19 20:21:58 grubba Exp $   */      #ifndef PROGRAM_H   #define PROGRAM_H      #include <stdarg.h>   #include "global.h"   #include "pike_macros.h"   #include "pike_error.h"   #include "svalue.h"
pike.git/src/program.h:158:    * For constants: Offset of the struct program_constant in    * program.constants in the program pointed to by prog in the struct    * inherit that corresponds to the identifier.    *    * For pike functions: Offset to the start of the function in    * program.program in the program pointed to by prog in the struct    * inherit that corresponds to the identifier. */    ptrdiff_t offset;   };    + #ifdef PIKE_PORTABLE_BYTECODE + struct pike_tripple + { +  INT32 opcode; +  INT32 arg; +  INT32 arg2; + }; + #endif /* PIKE_PORTABLE_BYTECODE */ +    #define IDENTIFIER_VARIABLE 0   #define IDENTIFIER_PIKE_FUNCTION 1   #define IDENTIFIER_C_FUNCTION 2   #define IDENTIFIER_FUNCTION 3   #define IDENTIFIER_CONSTANT 4   #define IDENTIFIER_TYPE_MASK 7      #define IDENTIFIER_VARARGS 8 /* Used for functions only. */   #define IDENTIFIER_NO_THIS_REF 8 /* Used for variables only: Don't count refs to self. */   #define IDENTIFIER_HAS_BODY 16 /* Function has a body (set already in pass 1). */