view src/core/interp_strunct.h @ 52:0eaa19833fe4

split interp struct to headerfile
author anatofuz
date Tue, 11 Dec 2018 15:04:06 +0900
parents
children
line wrap: on
line source

typedef struct interp {
     MVMuint16 op; //elimination
     /* Points to the place in the bytecode right after the current opcode. */
     /* See the NEXT_OP macro for making sense of this */
     MVMuint8 *cur_op;

     /* The current frame's bytecode start. */
     MVMuint8 *bytecode_start;

     /* Points to the base of the current register set for the frame we
      * are presently in. */
     MVMRegister *reg_base;

     /* Points to the current compilation unit. */
     MVMCompUnit *cu;

     /* The current call site we're constructing. */
     MVMCallsite *cur_callsite; //elimination

     MVMThreadContext *tc;
} INTER,*INTERP;