Home
last modified time | relevance | path

Searched refs:duk_instr_t (Results 1 – 25 of 26) sorted by relevance

12

/civetweb-2.7.6/src/third_party/duktape-1.8.0/src-separate/
Dduk_js_bytecode.h32 typedef duk_uint32_t duk_instr_t; typedef
41 #define DUK_ENC_OP(op) ((duk_instr_t) (op))
42 #define DUK_ENC_OP_ABC(op,abc) ((duk_instr_t) ( \
43 (((duk_instr_t) (abc)) << 6) | \
44 ((duk_instr_t) (op)) \
46 #define DUK_ENC_OP_A_BC(op,a,bc) ((duk_instr_t) ( \
47 (((duk_instr_t) (bc)) << 14) | \
48 (((duk_instr_t) (a)) << 6) | \
49 ((duk_instr_t) (op)) \
51 #define DUK_ENC_OP_A_B_C(op,a,b,c) ((duk_instr_t) ( \
[all …]
Dduk_hcompiledfunction.h29 ((duk_instr_t *) (void *) (DUK_USE_HEAPPTR_DEC16((heap)->heap_udata, (h)->bytecode16)))
76 …((duk_instr_t *) (void *) (DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPILEDFUNCTION_GET_DATA((…
113 ((duk_size_t) (DUK_HCOMPILEDFUNCTION_GET_CODE_SIZE((heap), (h)) / sizeof(duk_instr_t)))
164 duk_instr_t *bytecode;
Dduk_api_bytecode.c223 duk_instr_t *ins, *ins_end; in duk__dump_func()
403 sizeof(duk_instr_t) * count_instr; in duk__load_func()
458 DUK_ASSERT(sizeof(duk_instr_t) == 4); in duk__load_func()
459 DUK__ASSERT_LEFT(count_instr * sizeof(duk_instr_t)); in duk__load_func()
464 sizeof(duk_instr_t) * count_instr); in duk__load_func()
465 p += sizeof(duk_instr_t) * count_instr; in duk__load_func()
469 *((duk_instr_t *) (void *) q) = DUK_RAW_READ_U32_BE(p); in duk__load_func()
470 q += sizeof(duk_instr_t); in duk__load_func()
552 DUK_HCOMPILEDFUNCTION_SET_BYTECODE(thr->heap, h_fun, (duk_instr_t *) (void *) q); in duk__load_func()
Dduk_hthread.h205duk_instr_t *curr_pc; /* next instruction to execute (points to 'func' bytecode, stable pointer)…
248duk_instr_t *pc_base; /* resume execution from pc_base or pc_base+1 (points to 'func' by…
263 duk_instr_t **ptr_curr_pc;
Dduk_hthread_misc.c48 duk_instr_t *bcode; in duk_hthread_get_act_curr_pc()
64 duk_instr_t *bcode; in duk_hthread_get_act_prev_pc()
Dduk_debug_vsnprintf.c147 DUK_LOCAL_DECL void duk__print_instr(duk__dprint_state *st, duk_instr_t ins);
785 DUK_LOCAL void duk__print_instr(duk__dprint_state *st, duk_instr_t ins) { in duk__print_instr()
907 duk_instr_t t = va_arg(ap, duk_instr_t); in duk_debug_vsnprintf()
Dduk_js_call.c40 duk_instr_t **entry_ptr_curr_pc,
63 duk_instr_t **entry_ptr_curr_pc);
979 duk_instr_t **entry_ptr_curr_pc;
1172 duk_instr_t **entry_ptr_curr_pc;
1745 duk_instr_t **entry_ptr_curr_pc,
1887 duk_instr_t **entry_ptr_curr_pc;
2228 duk_instr_t **entry_ptr_curr_pc) {
2308 duk_instr_t **entry_ptr_curr_pc;
Dduk_js_compiler.h73 duk_instr_t ins;
Dduk_js_compiler.c98 DUK_LOCAL_DECL void duk__emit(duk_compiler_ctx *comp_ctx, duk_instr_t ins);
645 duk_instr_t *p_instr;
719 code_size = code_count * sizeof(duk_instr_t);
769 p_instr = (duk_instr_t *) p_func;
947 duk_instr_t *p, *p_start, *p_end;
950 p_start = (duk_instr_t *) DUK_HCOMPILEDFUNCTION_GET_CODE_BASE(thr->heap, h);
951 p_end = (duk_instr_t *) DUK_HCOMPILEDFUNCTION_GET_CODE_END(thr->heap, h);
957 (duk_instr_t) (*p),
1032 DUK_LOCAL void duk__emit(duk_compiler_ctx *comp_ctx, duk_instr_t ins) {
1043 (duk_instr_t) ins));
[all …]
Dduk_js_executor.c2137 duk_instr_t *curr_pc; /* bytecode has a stable pointer */
2288 act->curr_pc = (duk_instr_t *) curr_pc;
2333 (duk_instr_t) *curr_pc));
3621 cat->pc_base = (duk_instr_t *) curr_pc; /* pre-incremented, points to first jump slot */
4435 cat->pc_base = (duk_instr_t *) curr_pc; /* pre-incremented, points to first jump slot */
Dduk_debugger.c2645 duk_instr_t *old_pc = NULL; in duk_debug_halt_execution()
/civetweb-2.7.6/src/third_party/duktape-1.5.2/src-separate/
Dduk_js_bytecode.h32 typedef duk_uint32_t duk_instr_t; typedef
41 #define DUK_ENC_OP(op) ((duk_instr_t) (op))
42 #define DUK_ENC_OP_ABC(op,abc) ((duk_instr_t) ( \
43 (((duk_instr_t) (abc)) << 6) | \
44 ((duk_instr_t) (op)) \
46 #define DUK_ENC_OP_A_BC(op,a,bc) ((duk_instr_t) ( \
47 (((duk_instr_t) (bc)) << 14) | \
48 (((duk_instr_t) (a)) << 6) | \
49 ((duk_instr_t) (op)) \
51 #define DUK_ENC_OP_A_B_C(op,a,b,c) ((duk_instr_t) ( \
[all …]
Dduk_hcompiledfunction.h29 ((duk_instr_t *) (void *) (DUK_USE_HEAPPTR_DEC16((heap)->heap_udata, (h)->bytecode16)))
76 …((duk_instr_t *) (void *) (DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPILEDFUNCTION_GET_DATA((…
113 ((duk_size_t) (DUK_HCOMPILEDFUNCTION_GET_CODE_SIZE((heap), (h)) / sizeof(duk_instr_t)))
164 duk_instr_t *bytecode;
Dduk_api_bytecode.c223 duk_instr_t *ins, *ins_end; in duk__dump_func()
403 sizeof(duk_instr_t) * count_instr; in duk__load_func()
458 DUK_ASSERT(sizeof(duk_instr_t) == 4); in duk__load_func()
459 DUK__ASSERT_LEFT(count_instr * sizeof(duk_instr_t)); in duk__load_func()
464 sizeof(duk_instr_t) * count_instr); in duk__load_func()
465 p += sizeof(duk_instr_t) * count_instr; in duk__load_func()
469 *((duk_instr_t *) (void *) q) = DUK_RAW_READ_U32_BE(p); in duk__load_func()
470 q += sizeof(duk_instr_t); in duk__load_func()
552 DUK_HCOMPILEDFUNCTION_SET_BYTECODE(thr->heap, h_fun, (duk_instr_t *) (void *) q); in duk__load_func()
Dduk_hthread.h205duk_instr_t *curr_pc; /* next instruction to execute (points to 'func' bytecode, stable pointer)…
248duk_instr_t *pc_base; /* resume execution from pc_base or pc_base+1 (points to 'func' by…
263 duk_instr_t **ptr_curr_pc;
Dduk_hthread_misc.c48 duk_instr_t *bcode; in duk_hthread_get_act_curr_pc()
64 duk_instr_t *bcode; in duk_hthread_get_act_prev_pc()
Dduk_debug_vsnprintf.c147 DUK_LOCAL_DECL void duk__print_instr(duk__dprint_state *st, duk_instr_t ins);
785 DUK_LOCAL void duk__print_instr(duk__dprint_state *st, duk_instr_t ins) { in duk__print_instr()
907 duk_instr_t t = va_arg(ap, duk_instr_t); in duk_debug_vsnprintf()
Dduk_js_call.c40 duk_instr_t **entry_ptr_curr_pc,
63 duk_instr_t **entry_ptr_curr_pc);
977 duk_instr_t **entry_ptr_curr_pc;
1170 duk_instr_t **entry_ptr_curr_pc;
1741 duk_instr_t **entry_ptr_curr_pc,
1883 duk_instr_t **entry_ptr_curr_pc;
2224 duk_instr_t **entry_ptr_curr_pc) {
2304 duk_instr_t **entry_ptr_curr_pc;
Dduk_js_compiler.h73 duk_instr_t ins;
Dduk_js_compiler.c98 DUK_LOCAL_DECL void duk__emit(duk_compiler_ctx *comp_ctx, duk_instr_t ins);
645 duk_instr_t *p_instr;
719 code_size = code_count * sizeof(duk_instr_t);
769 p_instr = (duk_instr_t *) p_func;
947 duk_instr_t *p, *p_start, *p_end;
950 p_start = (duk_instr_t *) DUK_HCOMPILEDFUNCTION_GET_CODE_BASE(thr->heap, h);
951 p_end = (duk_instr_t *) DUK_HCOMPILEDFUNCTION_GET_CODE_END(thr->heap, h);
957 (duk_instr_t) (*p),
1032 DUK_LOCAL void duk__emit(duk_compiler_ctx *comp_ctx, duk_instr_t ins) {
1043 (duk_instr_t) ins));
[all …]
Dduk_js_executor.c2137 duk_instr_t *curr_pc; /* bytecode has a stable pointer */
2288 act->curr_pc = (duk_instr_t *) curr_pc;
2333 (duk_instr_t) *curr_pc));
3614 cat->pc_base = (duk_instr_t *) curr_pc; /* pre-incremented, points to first jump slot */
4427 cat->pc_base = (duk_instr_t *) curr_pc; /* pre-incremented, points to first jump slot */
/civetweb-2.7.6/src/third_party/duktape-1.5.2/src-noline/
Dduktape.c2537 typedef duk_uint32_t duk_instr_t; typedef
2546 #define DUK_ENC_OP(op) ((duk_instr_t) (op))
2547 #define DUK_ENC_OP_ABC(op,abc) ((duk_instr_t) ( \
2548 (((duk_instr_t) (abc)) << 6) | \
2549 ((duk_instr_t) (op)) \
2551 #define DUK_ENC_OP_A_BC(op,a,bc) ((duk_instr_t) ( \
2552 (((duk_instr_t) (bc)) << 14) | \
2553 (((duk_instr_t) (a)) << 6) | \
2554 ((duk_instr_t) (op)) \
2556 #define DUK_ENC_OP_A_B_C(op,a,b,c) ((duk_instr_t) ( \
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.8.0/src/
Dduktape.c2548 typedef duk_uint32_t duk_instr_t; typedef
2557 #define DUK_ENC_OP(op) ((duk_instr_t) (op))
2558 #define DUK_ENC_OP_ABC(op,abc) ((duk_instr_t) ( \
2559 (((duk_instr_t) (abc)) << 6) | \
2560 ((duk_instr_t) (op)) \
2562 #define DUK_ENC_OP_A_BC(op,a,bc) ((duk_instr_t) ( \
2563 (((duk_instr_t) (bc)) << 14) | \
2564 (((duk_instr_t) (a)) << 6) | \
2565 ((duk_instr_t) (op)) \
2567 #define DUK_ENC_OP_A_B_C(op,a,b,c) ((duk_instr_t) ( \
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.5.2/src/
Dduktape.c2548 typedef duk_uint32_t duk_instr_t; typedef
2557 #define DUK_ENC_OP(op) ((duk_instr_t) (op))
2558 #define DUK_ENC_OP_ABC(op,abc) ((duk_instr_t) ( \
2559 (((duk_instr_t) (abc)) << 6) | \
2560 ((duk_instr_t) (op)) \
2562 #define DUK_ENC_OP_A_BC(op,a,bc) ((duk_instr_t) ( \
2563 (((duk_instr_t) (bc)) << 14) | \
2564 (((duk_instr_t) (a)) << 6) | \
2565 ((duk_instr_t) (op)) \
2567 #define DUK_ENC_OP_A_B_C(op,a,b,c) ((duk_instr_t) ( \
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.8.0/src-noline/
Dduktape.c2537 typedef duk_uint32_t duk_instr_t; typedef
2546 #define DUK_ENC_OP(op) ((duk_instr_t) (op))
2547 #define DUK_ENC_OP_ABC(op,abc) ((duk_instr_t) ( \
2548 (((duk_instr_t) (abc)) << 6) | \
2549 ((duk_instr_t) (op)) \
2551 #define DUK_ENC_OP_A_BC(op,a,bc) ((duk_instr_t) ( \
2552 (((duk_instr_t) (bc)) << 14) | \
2553 (((duk_instr_t) (a)) << 6) | \
2554 ((duk_instr_t) (op)) \
2556 #define DUK_ENC_OP_A_B_C(op,a,b,c) ((duk_instr_t) ( \
[all …]

12