Searched refs:byte_code_p (Results 1 – 8 of 8) sorted by relevance
188 const uint8_t *byte_code_p; in vm_stack_find_finally() local208 byte_code_p = frame_ctx_p->byte_code_start_p + context_end; in vm_stack_find_finally()212 JERRY_ASSERT (byte_code_p[0] == CBC_EXT_OPCODE); in vm_stack_find_finally()214 if (byte_code_p[1] >= CBC_EXT_CATCH in vm_stack_find_finally()215 && byte_code_p[1] <= CBC_EXT_CATCH_3) in vm_stack_find_finally()217 branch_offset_length = CBC_BRANCH_OFFSET_LENGTH (byte_code_p[1]); in vm_stack_find_finally()218 branch_offset = vm_decode_branch_offset (byte_code_p + 2, in vm_stack_find_finally()223 branch_offset += (uint32_t) (byte_code_p - frame_ctx_p->byte_code_start_p); in vm_stack_find_finally()227 byte_code_p += 2 + branch_offset_length; in vm_stack_find_finally()228 frame_ctx_p->byte_code_p = byte_code_p; in vm_stack_find_finally()[all …]
544 JERRY_ASSERT (frame_ctx_p->byte_code_p[0] == CBC_EXT_OPCODE); in vm_super_call()546 const uint8_t *byte_code_p = frame_ctx_p->byte_code_p + 3; in vm_super_call() local547 uint8_t opcode = byte_code_p[-2]; in vm_super_call()564 arguments_list_len = byte_code_p[-1]; in vm_super_call()623 JERRY_CONTEXT (debugger_exception_byte_code_p) = frame_ctx_p->byte_code_p; in vm_super_call()625 frame_ctx_p->byte_code_p = (uint8_t *) vm_error_byte_code_p; in vm_super_call()632 frame_ctx_p->byte_code_p = byte_code_p; in vm_super_call()660 JERRY_ASSERT (frame_ctx_p->byte_code_p[0] == CBC_EXT_OPCODE); in vm_spread_operation()662 uint8_t opcode = frame_ctx_p->byte_code_p[1]; in vm_spread_operation()670 if (frame_ctx_p->byte_code_p[1] == CBC_EXT_SPREAD_NEW) in vm_spread_operation()[all …]
44 const uint8_t *byte_code_p; /**< current byte code pointer */ member
147 executable_object_p->frame_ctx.byte_code_p = ecma_builtin_generator_prototype_return; in ecma_builtin_generator_prototype_object_do()151 executable_object_p->frame_ctx.byte_code_p = ecma_builtin_generator_prototype_throw; in ecma_builtin_generator_prototype_object_do()165 const uint8_t *byte_code_p = executable_object_p->frame_ctx.byte_code_p; in ecma_builtin_generator_prototype_object_do() local167 JERRY_ASSERT (byte_code_p[-2] == CBC_EXT_OPCODE in ecma_builtin_generator_prototype_object_do()168 … && (byte_code_p[-1] == CBC_EXT_YIELD || byte_code_p[-1] == CBC_EXT_YIELD_ITERATOR)); in ecma_builtin_generator_prototype_object_do()170 if (byte_code_p[-1] == CBC_EXT_YIELD_ITERATOR) in ecma_builtin_generator_prototype_object_do()
382 uint8_t *byte_code_p) /**< byte code */ in parse_update_branches() argument402 uint8_t *bytes_p = byte_code_p + bytes_copied; in parse_update_branches()587 name = *byte_code_p++; \590 name = (uint16_t) (((name << 8) | byte_code_p[0]) - encoding_delta); \591 byte_code_p++; \605 uint8_t *byte_code_p; in parse_print_final_cbc() local716 byte_code_p = byte_code_start_p; in parse_print_final_cbc()718 while (byte_code_p < byte_code_end_p) in parse_print_final_cbc()720 cbc_opcode_t opcode = (cbc_opcode_t) *byte_code_p; in parse_print_final_cbc()722 size_t cbc_offset = (size_t) (byte_code_p - byte_code_start_p); in parse_print_final_cbc()[all …]
198 …uint32_t offset = (uint32_t) (frame_ctx_p->byte_code_p - (uint8_t *) frame_ctx_p->bytecode_header_… in jerry_debugger_send_backtrace()789 JERRY_DEBUGGER_RECEIVE_BUFFER_AS (jerry_debugger_receive_byte_code_cp_t, byte_code_p); in jerry_debugger_process_message()792 memcpy (&byte_code_free_cp, byte_code_p->byte_code_cp, sizeof (jmem_cpointer_t)); in jerry_debugger_process_message()832 uint8_t *byte_code_p = JMEM_CP_GET_NON_NULL_POINTER (uint8_t, byte_code_cp); in jerry_debugger_process_message() local836 byte_code_p += offset; in jerry_debugger_process_message()838 … JERRY_ASSERT (*byte_code_p == CBC_BREAKPOINT_ENABLED || *byte_code_p == CBC_BREAKPOINT_DISABLED); in jerry_debugger_process_message()840 …*byte_code_p = update_breakpoint_p->is_set_breakpoint ? CBC_BREAKPOINT_ENABLED : CBC_BREAKPOINT_DI… in jerry_debugger_process_message()1227 …uint32_t offset = (uint32_t) (frame_ctx_p->byte_code_p - (uint8_t *) frame_ctx_p->bytecode_header_… in jerry_debugger_breakpoint_hit()
1238 const ecma_compiled_code_t *byte_code_p = ecma_op_function_get_compiled_code (ext_func_obj_p); in ecma_op_function_construct() local1240 if (byte_code_p->status_flags & (CBC_CODE_FLAGS_ARROW_FUNCTION | CBC_CODE_FLAGS_ACCESSOR)) in ecma_op_function_construct()1242 if (byte_code_p->status_flags & CBC_CODE_FLAGS_ARROW_FUNCTION) in ecma_op_function_construct()1323 …const ecma_compiled_code_t *byte_code_p = ecma_op_function_get_compiled_code ((ecma_extended_objec… in ecma_op_lazy_instantiate_prototype_object() local1325 if (byte_code_p->status_flags & CBC_CODE_FLAGS_GENERATOR) in ecma_op_lazy_instantiate_prototype_object()1332 else if (byte_code_p->status_flags & (CBC_CODE_FLAGS_ARROW_FUNCTION | CBC_CODE_FLAGS_ACCESSOR)) in ecma_op_lazy_instantiate_prototype_object()
714 const ecma_compiled_code_t *byte_code_p = ecma_op_function_get_compiled_code (ext_func_p); in ecma_gc_mark() local716 if (byte_code_p->status_flags & CBC_CODE_FLAGS_ARROW_FUNCTION) in ecma_gc_mark()1230 ecma_compiled_code_t *byte_code_p = (ECMA_GET_INTERNAL_VALUE_POINTER (ecma_compiled_code_t, in ecma_gc_free_object() local1234 if (byte_code_p->status_flags & CBC_CODE_FLAGS_ARROW_FUNCTION) in ecma_gc_free_object()1242 ecma_bytecode_deref (byte_code_p); in ecma_gc_free_object()