Searched refs:frame_ctx_p (Results 1 – 8 of 8) sorted by relevance
/third_party/jerryscript/jerry-core/vm/ |
D | vm.c | 441 vm_construct_literal_object (vm_frame_ctx_t *frame_ctx_p, /**< frame context */ in vm_construct_literal_object() argument 447 …if (JERRY_LIKELY (!(frame_ctx_p->bytecode_header_p->status_flags & CBC_CODE_FLAGS_STATIC_FUNCTION)… in vm_construct_literal_object() 456 uint8_t *byte_p = ((uint8_t *) frame_ctx_p->bytecode_header_p) + lit_value; in vm_construct_literal_object() 482 func_obj_p = ecma_op_create_arrow_function_object (frame_ctx_p->lex_env_p, in vm_construct_literal_object() 484 frame_ctx_p->this_binding); in vm_construct_literal_object() 488 func_obj_p = ecma_op_create_generator_function_object (frame_ctx_p->lex_env_p, bytecode_p); in vm_construct_literal_object() 493 func_obj_p = ecma_op_create_simple_function_object (frame_ctx_p->lex_env_p, bytecode_p); in vm_construct_literal_object() 541 vm_super_call (vm_frame_ctx_t *frame_ctx_p) /**< frame context */ in vm_super_call() argument 543 JERRY_ASSERT (frame_ctx_p->call_operation == VM_EXEC_SUPER_CALL); in vm_super_call() 544 JERRY_ASSERT (frame_ctx_p->byte_code_p[0] == CBC_EXT_OPCODE); in vm_super_call() [all …]
|
D | vm-stack.c | 39 vm_stack_context_abort (vm_frame_ctx_t *frame_ctx_p, /**< frame context */ in vm_stack_context_abort() argument 46 ecma_object_t *lex_env_p = frame_ctx_p->lex_env_p; in vm_stack_context_abort() 48 …frame_ctx_p->lex_env_p = ECMA_GET_NON_NULL_POINTER (ecma_object_t, lex_env_p->u2.outer_reference_c… in vm_stack_context_abort() 64 VM_MINUS_EQUAL_U16 (frame_ctx_p->context_depth, PARSER_TRY_CONTEXT_STACK_ALLOCATION); in vm_stack_context_abort() 73 VM_MINUS_EQUAL_U16 (frame_ctx_p->context_depth, PARSER_WITH_CONTEXT_STACK_ALLOCATION); in vm_stack_context_abort() 89 VM_MINUS_EQUAL_U16 (frame_ctx_p->context_depth, PARSER_FOR_OF_CONTEXT_STACK_ALLOCATION); in vm_stack_context_abort() 112 VM_MINUS_EQUAL_U16 (frame_ctx_p->context_depth, PARSER_FOR_IN_CONTEXT_STACK_ALLOCATION); in vm_stack_context_abort() 160 vm_stack_find_finally (vm_frame_ctx_t *frame_ctx_p, /**< frame context */ in vm_stack_find_finally() argument 174 while (frame_ctx_p->context_depth > 0) in vm_stack_find_finally() 201 ecma_object_t *lex_env_p = frame_ctx_p->lex_env_p; in vm_stack_find_finally() [all …]
|
D | opcodes.c | 579 opfunc_create_executable_object (vm_frame_ctx_t *frame_ctx_p) /**< frame context */ in opfunc_create_executable_object() argument 581 const ecma_compiled_code_t *bytecode_header_p = frame_ctx_p->bytecode_header_p; in opfunc_create_executable_object() 613 JERRY_ASSERT (!frame_ctx_p->is_eval_code); in opfunc_create_executable_object() 614 JERRY_ASSERT (frame_ctx_p->context_depth == 0); in opfunc_create_executable_object() 617 *new_frame_ctx_p = *frame_ctx_p; in opfunc_create_executable_object() 621 memcpy (new_registers_p, VM_GET_REGISTERS (frame_ctx_p), size); in opfunc_create_executable_object() 623 size_t stack_top = (size_t) (frame_ctx_p->stack_top_p - VM_GET_REGISTERS (frame_ctx_p)); in opfunc_create_executable_object() 905 opfunc_push_class_environment (vm_frame_ctx_t *frame_ctx_p, /**< frame context */ in opfunc_push_class_environment() argument 910 ecma_object_t *class_env_p = ecma_create_decl_lex_env (frame_ctx_p->lex_env_p); in opfunc_push_class_environment() 919 frame_ctx_p->lex_env_p = class_env_p; in opfunc_push_class_environment() [all …]
|
D | opcodes.h | 117 opfunc_create_executable_object (vm_frame_ctx_t *frame_ctx_p); 129 opfunc_push_class_environment (vm_frame_ctx_t *frame_ctx_p, ecma_value_t **vm_stack_top, ecma_valu… 135 opfunc_pop_lexical_environment (vm_frame_ctx_t *frame_ctx_p); 138 opfunc_finalize_class (vm_frame_ctx_t *frame_ctx_p, ecma_value_t **vm_stack_top_p, ecma_value_t cla… 141 opfunc_form_super_reference (ecma_value_t **vm_stack_top_p, vm_frame_ctx_t *frame_ctx_p, ecma_value… 145 opfunc_assign_super_reference (ecma_value_t **vm_stack_top_p, vm_frame_ctx_t *frame_ctx_p, uint32_t…
|
D | vm-defines.h | 70 #define VM_GET_REGISTERS(frame_ctx_p) ((ecma_value_t *) ((frame_ctx_p) + 1)) argument 75 #define VM_GET_REGISTER(frame_ctx_p, i) (((ecma_value_t *) ((frame_ctx_p) + 1))[i]) argument
|
D | vm-stack.h | 101 ecma_value_t *vm_stack_context_abort (vm_frame_ctx_t *frame_ctx_p, ecma_value_t *vm_stack_top_p); 102 bool vm_stack_find_finally (vm_frame_ctx_t *frame_ctx_p, ecma_value_t **vm_stack_top_ref_p,
|
D | vm.h | 446 ecma_value_t vm_execute (vm_frame_ctx_t *frame_ctx_p);
|
/third_party/jerryscript/jerry-core/debugger/ |
D | debugger.c | 158 vm_frame_ctx_t *frame_ctx_p = JERRY_CONTEXT (vm_top_context_p); in jerry_debugger_send_backtrace() local 168 while (frame_ctx_p != NULL && min_depth_offset < min_depth) in jerry_debugger_send_backtrace() 170 frame_ctx_p = frame_ctx_p->prev_context_p; in jerry_debugger_send_backtrace() 174 while (frame_ctx_p != NULL && min_depth_offset++ < max_depth) in jerry_debugger_send_backtrace() 176 if (frame_ctx_p->bytecode_header_p->status_flags in jerry_debugger_send_backtrace() 179 frame_ctx_p = frame_ctx_p->prev_context_p; in jerry_debugger_send_backtrace() 195 JMEM_CP_SET_NON_NULL_POINTER (byte_code_cp, frame_ctx_p->bytecode_header_p); in jerry_debugger_send_backtrace() 198 …uint32_t offset = (uint32_t) (frame_ctx_p->byte_code_p - (uint8_t *) frame_ctx_p->bytecode_header_… in jerry_debugger_send_backtrace() 201 frame_ctx_p = frame_ctx_p->prev_context_p; in jerry_debugger_send_backtrace() 1221 vm_frame_ctx_t *frame_ctx_p = JERRY_CONTEXT (vm_top_context_p); in jerry_debugger_breakpoint_hit() local [all …]
|