Home
last modified time | relevance | path

Searched refs:compiled_code_p (Results 1 – 12 of 12) sorted by relevance

/third_party/jerryscript/jerry-core/parser/js/
Djs-parser.c518 parse_print_literal (ecma_compiled_code_t *compiled_code_p, /**< compiled code */ in parse_print_literal() argument
527 if (compiled_code_p->status_flags & CBC_CODE_FLAGS_UINT16_ARGUMENTS) in parse_print_literal()
529 cbc_uint16_arguments_t *args_p = (cbc_uint16_arguments_t *) compiled_code_p; in parse_print_literal()
536 cbc_uint8_arguments_t *args_p = (cbc_uint8_arguments_t *) compiled_code_p; in parse_print_literal()
543 if (compiled_code_p->status_flags & CBC_CODE_FLAGS_REST_PARAMETER) in parse_print_literal()
598 parse_print_final_cbc (ecma_compiled_code_t *compiled_code_p, /**< compiled code */ in parse_print_final_cbc() argument
615 if (compiled_code_p->status_flags & CBC_CODE_FLAGS_UINT16_ARGUMENTS) in parse_print_final_cbc()
617 cbc_uint16_arguments_t *args = (cbc_uint16_arguments_t *) compiled_code_p; in parse_print_final_cbc()
627 cbc_uint8_arguments_t *args = (cbc_uint8_arguments_t *) compiled_code_p; in parse_print_final_cbc()
639 if (!(compiled_code_p->status_flags & CBC_CODE_FLAGS_FULL_LITERAL_ENCODING)) in parse_print_final_cbc()
[all …]
Djs-lexer.c2639 ecma_compiled_code_t *compiled_code_p; in lexer_construct_function_object() local
2665 compiled_code_p = parser_parse_function (context_p, extra_status_flags); in lexer_construct_function_object()
2669 compiled_code_p = parser_parse_arrow_function (context_p, extra_status_flags); in lexer_construct_function_object()
2672 compiled_code_p = parser_parse_function (context_p, extra_status_flags); in lexer_construct_function_object()
2675 literal_p->u.bytecode_p = compiled_code_p; in lexer_construct_function_object()
Djs-parser-expr.c640 …ecma_compiled_code_t *compiled_code_p = parser_parse_function (context_p, constructor_status_flags… in parser_parse_class_literal() local
641 ctor_literal_p->u.bytecode_p = compiled_code_p; in parser_parse_class_literal()
Djs-parser-statm.c819 ecma_compiled_code_t *compiled_code_p = parser_parse_function (context_p, status_flags); in parser_parse_function_statement() local
826 literal_p->u.bytecode_p = compiled_code_p; in parser_parse_function_statement()
/third_party/jerryscript/jerry-core/ecma/base/
Decma-literal-storage.c361 ecma_save_literals_add_compiled_code (const ecma_compiled_code_t *compiled_code_p, /**< byte-code d… in ecma_save_literals_add_compiled_code() argument
370 JERRY_ASSERT (compiled_code_p->status_flags & CBC_CODE_FLAGS_FUNCTION); in ecma_save_literals_add_compiled_code()
372 if (compiled_code_p->status_flags & CBC_CODE_FLAGS_UINT16_ARGUMENTS) in ecma_save_literals_add_compiled_code()
374 cbc_uint16_arguments_t *args_p = (cbc_uint16_arguments_t *) compiled_code_p; in ecma_save_literals_add_compiled_code()
375 uint8_t *byte_p = (uint8_t *) compiled_code_p; in ecma_save_literals_add_compiled_code()
382 if (compiled_code_p->status_flags & CBC_CODE_FLAGS_MAPPED_ARGUMENTS_NEEDED) in ecma_save_literals_add_compiled_code()
389 cbc_uint8_arguments_t *args_p = (cbc_uint8_arguments_t *) compiled_code_p; in ecma_save_literals_add_compiled_code()
390 uint8_t *byte_p = (uint8_t *) compiled_code_p; in ecma_save_literals_add_compiled_code()
397 if (compiled_code_p->status_flags & CBC_CODE_FLAGS_MAPPED_ARGUMENTS_NEEDED) in ecma_save_literals_add_compiled_code()
419 && bytecode_p != compiled_code_p) in ecma_save_literals_add_compiled_code()
[all …]
Decma-literal-storage.h48 void ecma_save_literals_add_compiled_code (const ecma_compiled_code_t *compiled_code_p,
Decma-module.c494 ret_value = vm_run_module (module_p->compiled_code_p, in ecma_module_evaluate()
505 ecma_bytecode_deref (module_p->compiled_code_p); in ecma_module_evaluate()
910 module_p->compiled_code_p = bytecode_data_p; in ecma_module_parse()
1063 ecma_bytecode_deref (module_p->compiled_code_p); in ecma_module_release_module()
Decma-module.h85 ecma_compiled_code_t *compiled_code_p; /**< compiled code of the module */ member
/third_party/jerryscript/jerry-core/api/
Djerry-snapshot.c135 snapshot_add_compiled_code (ecma_compiled_code_t *compiled_code_p, /**< compiled code */ in snapshot_add_compiled_code() argument
164 if (compiled_code_p->status_flags & CBC_CODE_FLAG_HAS_TAGGED_LITERALS) in snapshot_add_compiled_code()
171 if (compiled_code_p->status_flags & CBC_CODE_FLAGS_CLASS_CONSTRUCTOR) in snapshot_add_compiled_code()
178 if (!(compiled_code_p->status_flags & CBC_CODE_FLAGS_FUNCTION)) in snapshot_add_compiled_code()
189 ecma_value_t pattern = ((re_compiled_code_t *) compiled_code_p)->source; in snapshot_add_compiled_code()
225 copied_code_p->status_flags = compiled_code_p->status_flags; in snapshot_add_compiled_code()
231 JERRY_ASSERT (compiled_code_p->status_flags & CBC_CODE_FLAGS_FUNCTION); in snapshot_add_compiled_code()
236 compiled_code_p, in snapshot_add_compiled_code()
237 ((size_t) compiled_code_p->size) << JMEM_ALIGNMENT_LOG)) in snapshot_add_compiled_code()
249 if (compiled_code_p->status_flags & CBC_CODE_FLAGS_UINT16_ARGUMENTS) in snapshot_add_compiled_code()
[all …]
/third_party/jerryscript/jerry-core/parser/regexp/
Dre-bytecode.c373 re_compiled_code_t *compiled_code_p = (re_compiled_code_t *) re_ctx_p->bytecode_start_p; in re_dump_bytecode() local
374 JERRY_DEBUG_MSG ("Flags: 0x%x ", compiled_code_p->header.status_flags); in re_dump_bytecode()
375 JERRY_DEBUG_MSG ("Capturing groups: %d ", compiled_code_p->captures_count); in re_dump_bytecode()
376 JERRY_DEBUG_MSG ("Non-capturing groups: %d\n", compiled_code_p->non_captures_count); in re_dump_bytecode()
378 const uint8_t *bytecode_start_p = (const uint8_t *) (compiled_code_p + 1); in re_dump_bytecode()
/third_party/jerryscript/jerry-core/debugger/
Ddebugger.h487 …bugger_send_function_cp (jerry_debugger_header_type_t type, ecma_compiled_code_t *compiled_code_p);
Ddebugger.c1387 ecma_compiled_code_t *compiled_code_p) /**< byte code pointer */ in jerry_debugger_send_function_cp() argument
1396 JMEM_CP_SET_NON_NULL_POINTER (compiled_code_cp, compiled_code_p); in jerry_debugger_send_function_cp()