Searched refs:instrs (Results 1 – 6 of 6) sorted by relevance
110 for(instr = ctx->code->instrs+1; instr < ctx->code->instrs+ctx->instr_cnt; instr++) { in dump_code()112 … TRACE_(vbscript_disas)("%d:\t%s", (int)(instr-ctx->code->instrs), instr_info[instr->op].op_str); in dump_code()149 return ctx->code->instrs + id; in instr_ptr()159 new_instr = heap_realloc(ctx->code->instrs, ctx->instr_size*2*sizeof(instr_t)); in push_instr()163 ctx->code->instrs = new_instr; in push_instr()167 ctx->code->instrs[ctx->instr_cnt].op = op; in push_instr()1322 for(instr = ctx->code->instrs+off; instr < ctx->code->instrs+ctx->instr_cnt; instr++) { in resolve_labels()1783 heap_free(code->instrs); in release_vbscode()1801 ret->instrs = heap_alloc(32*sizeof(instr_t)); in alloc_vbscode()1802 if(!ret->instrs) { in alloc_vbscode()
337 instr_t *instrs; member
449 ctx->instr = ctx->code->instrs + addr; in instr_jmp()2161 exec.instr = exec.code->instrs + func->code_off; in exec_script()
113 for(instr = ctx->code->instrs+off; instr < ctx->code->instrs+ctx->code_off; instr++) { in dump_code()114 … TRACE_(jscript_disas)("%d:\t%s", (int)(instr-ctx->code->instrs), instr_info[instr->op].op_str); in dump_code()218 new_instrs = heap_realloc(ctx->code->instrs, ctx->code_size*2*sizeof(instr_t)); in push_instr()222 ctx->code->instrs = new_instrs; in push_instr()226 ctx->code->instrs[ctx->code_off].op = op; in push_instr()233 return ctx->code->instrs + off; in instr_ptr()2215 for(instr = ctx->code->instrs+off; instr < ctx->code->instrs+ctx->code_off; instr++) { in resolve_labels()2242 heap_free(code->instrs); in release_bytecode()2261 compiler->code->instrs = heap_alloc(64 * sizeof(instr_t)); in init_code()2262 if(!compiler->code->instrs) { in init_code()
175 instr_t *instrs; member
721 return frame->bytecode->instrs[frame->ip].u.arg[i].bstr; in get_op_bstr()727 return frame->bytecode->instrs[frame->ip].u.arg[i].uint; in get_op_uint()733 return frame->bytecode->instrs[frame->ip].u.arg[i].lng; in get_op_int()739 return frame->bytecode->instrs[frame->ip].u.arg[i].str; in get_op_str()745 return frame->bytecode->instrs[frame->ip].u.dbl; in get_op_double()2783 if(catch_off) assert(frame->bytecode->instrs[frame->ip].op == OP_enter_catch); in unwind_exception()2816 op = frame->bytecode->instrs[frame->ip].op; in enter_bytecode()