Home
last modified time | relevance | path

Searched refs:bytecode_header_p (Results 1 – 11 of 11) sorted by relevance

/third_party/jerryscript/jerry-core/vm/
Dopcodes.c581 const ecma_compiled_code_t *bytecode_header_p = frame_ctx_p->bytecode_header_p; in opfunc_create_executable_object() local
584 ecma_bytecode_ref ((ecma_compiled_code_t *) bytecode_header_p); in opfunc_create_executable_object()
586 if (bytecode_header_p->status_flags & CBC_CODE_FLAGS_UINT16_ARGUMENTS) in opfunc_create_executable_object()
588 cbc_uint16_arguments_t *args_p = (cbc_uint16_arguments_t *) bytecode_header_p; in opfunc_create_executable_object()
593 cbc_uint8_arguments_t *args_p = (cbc_uint8_arguments_t *) bytecode_header_p; in opfunc_create_executable_object()
651 const ecma_compiled_code_t *bytecode_header_p = executable_object_p->frame_ctx.bytecode_header_p; in opfunc_resume_executable_object() local
655 if (bytecode_header_p->status_flags & CBC_CODE_FLAGS_UINT16_ARGUMENTS) in opfunc_resume_executable_object()
657 cbc_uint16_arguments_t *args_p = (cbc_uint16_arguments_t *) bytecode_header_p; in opfunc_resume_executable_object()
662 cbc_uint8_arguments_t *args_p = (cbc_uint8_arguments_t *) bytecode_header_p; in opfunc_resume_executable_object()
1267 bool is_strict = (frame_ctx_p->bytecode_header_p->status_flags & CBC_CODE_FLAGS_STRICT_MODE) != 0; in opfunc_assign_super_reference()
Dvm.c447 …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()
977 const ecma_compiled_code_t *bytecode_header_p = frame_ctx_p->bytecode_header_p; in vm_loop() local
992 …bool is_strict = ((frame_ctx_p->bytecode_header_p->status_flags & CBC_CODE_FLAGS_STRICT_MODE) != 0… in vm_loop()
995 if (!(bytecode_header_p->status_flags & CBC_CODE_FLAGS_FULL_LITERAL_ENCODING)) in vm_loop()
1006 if (bytecode_header_p->status_flags & CBC_CODE_FLAGS_UINT16_ARGUMENTS) in vm_loop()
1008 cbc_uint16_arguments_t *args_p = (cbc_uint16_arguments_t *) (bytecode_header_p); in vm_loop()
1015 cbc_uint8_arguments_t *args_p = (cbc_uint8_arguments_t *) (bytecode_header_p); in vm_loop()
2211 …collection_t *collection_p = ecma_compiled_code_get_tagged_template_collection (bytecode_header_p); in vm_loop()
3891 … JERRY_ASSERT (!(frame_ctx_p->bytecode_header_p->status_flags & CBC_CODE_FLAGS_DEBUGGER_IGNORE)); in vm_loop()
[all …]
Dvm-defines.h43 const ecma_compiled_code_t *bytecode_header_p; /**< currently executed byte-code data */ member
Dvm-utils.c34 …return JERRY_CONTEXT (vm_top_context_p)->bytecode_header_p->status_flags & CBC_CODE_FLAGS_STRICT_M… in vm_is_strict_mode()
Dvm.h444 ecma_value_t vm_run (const ecma_compiled_code_t *bytecode_header_p, ecma_value_t this_binding_value,
/third_party/jerryscript/jerry-core/ecma/base/
Decma-helpers.c1477 ecma_compiled_code_get_tagged_template_collection (const ecma_compiled_code_t *bytecode_header_p) /… in ecma_compiled_code_get_tagged_template_collection() argument
1479 JERRY_ASSERT (bytecode_header_p != NULL); in ecma_compiled_code_get_tagged_template_collection()
1480 JERRY_ASSERT (bytecode_header_p->status_flags & CBC_CODE_FLAG_HAS_TAGGED_LITERALS); in ecma_compiled_code_get_tagged_template_collection()
1482 uint8_t *byte_p = (uint8_t *) bytecode_header_p; in ecma_compiled_code_get_tagged_template_collection()
1483 byte_p += ((size_t) bytecode_header_p->size) << JMEM_ALIGNMENT_LOG; in ecma_compiled_code_get_tagged_template_collection()
1486 tagged_base_p -= ecma_compiled_code_get_formal_params (bytecode_header_p); in ecma_compiled_code_get_tagged_template_collection()
1499 ecma_compiled_code_get_formal_params (const ecma_compiled_code_t *bytecode_header_p) /**< compiled … in ecma_compiled_code_get_formal_params() argument
1501 if (!(bytecode_header_p->status_flags & CBC_CODE_FLAGS_MAPPED_ARGUMENTS_NEEDED)) in ecma_compiled_code_get_formal_params()
1506 if (bytecode_header_p->status_flags & CBC_CODE_FLAGS_UINT16_ARGUMENTS) in ecma_compiled_code_get_formal_params()
1508 return ((cbc_uint16_arguments_t *) bytecode_header_p)->argument_end; in ecma_compiled_code_get_formal_params()
[all …]
Decma-gc.c457 const ecma_compiled_code_t *bytecode_header_p = executable_object_p->frame_ctx.bytecode_header_p; in ecma_gc_mark_executable_object() local
460 if (bytecode_header_p->status_flags & CBC_CODE_FLAGS_UINT16_ARGUMENTS) in ecma_gc_mark_executable_object()
462 cbc_uint16_arguments_t *args_p = (cbc_uint16_arguments_t *) bytecode_header_p; in ecma_gc_mark_executable_object()
467 cbc_uint8_arguments_t *args_p = (cbc_uint8_arguments_t *) bytecode_header_p; in ecma_gc_mark_executable_object()
854 const ecma_compiled_code_t *bytecode_header_p = executable_object_p->frame_ctx.bytecode_header_p; in ecma_gc_free_executable_object() local
857 if (bytecode_header_p->status_flags & CBC_CODE_FLAGS_UINT16_ARGUMENTS) in ecma_gc_free_executable_object()
859 cbc_uint16_arguments_t *args_p = (cbc_uint16_arguments_t *) bytecode_header_p; in ecma_gc_free_executable_object()
866 cbc_uint8_arguments_t *args_p = (cbc_uint8_arguments_t *) bytecode_header_p; in ecma_gc_free_executable_object()
876 ecma_bytecode_deref ((ecma_compiled_code_t *) bytecode_header_p); in ecma_gc_free_executable_object()
Decma-helpers.h489 …*ecma_compiled_code_get_tagged_template_collection (const ecma_compiled_code_t *bytecode_header_p);
/third_party/jerryscript/jerry-core/debugger/
Ddebugger.c143 if (!(iter_frame_ctx_p->bytecode_header_p->status_flags & (CBC_CODE_FLAGS_STATIC_FUNCTION))) in jerry_debugger_send_backtrace()
176 if (frame_ctx_p->bytecode_header_p->status_flags 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 …nt32_t offset = (uint32_t) (frame_ctx_p->byte_code_p - (uint8_t *) frame_ctx_p->bytecode_header_p); in jerry_debugger_send_backtrace()
1224 JMEM_CP_SET_NON_NULL_POINTER (byte_code_header_cp, frame_ctx_p->bytecode_header_p); in jerry_debugger_breakpoint_hit()
1227 …nt32_t offset = (uint32_t) (frame_ctx_p->byte_code_p - (uint8_t *) frame_ctx_p->bytecode_header_p); in jerry_debugger_breakpoint_hit()
/third_party/jerryscript/jerry-core/ecma/operations/
Decma-function-object.c45 ecma_op_resource_name (const ecma_compiled_code_t *bytecode_header_p) in ecma_op_resource_name() argument
47 JERRY_ASSERT (bytecode_header_p != NULL); in ecma_op_resource_name()
49 uint8_t *byte_p = (uint8_t *) bytecode_header_p; in ecma_op_resource_name()
50 byte_p += ((size_t) bytecode_header_p->size) << JMEM_ALIGNMENT_LOG; in ecma_op_resource_name()
53 resource_name_p -= ecma_compiled_code_get_formal_params (bytecode_header_p); in ecma_op_resource_name()
56 if (bytecode_header_p->status_flags & CBC_CODE_FLAG_HAS_TAGGED_LITERALS) in ecma_op_resource_name()
Decma-function-object.h31 ecma_value_t ecma_op_resource_name (const ecma_compiled_code_t *bytecode_header_p);