Home
last modified time | relevance | path

Searched refs:bytecode_data_p (Results 1 – 13 of 13) sorted by relevance

/third_party/jerryscript/jerry-core/ecma/operations/
Decma-function-object.c220 const ecma_compiled_code_t *bytecode_data_p, /**< byte-code array */ in ecma_op_create_function_object() argument
231 if (bytecode_data_p->status_flags & CBC_CODE_FLAGS_STATIC_FUNCTION) in ecma_op_create_function_object()
263 if (bytecode_data_p->status_flags & CBC_CODE_FLAGS_STATIC_FUNCTION) in ecma_op_create_function_object()
266 ((ecma_static_function_t *) func_p)->bytecode_p = bytecode_data_p; in ecma_op_create_function_object()
271 ECMA_SET_INTERNAL_VALUE_POINTER (ext_func_p->u.function.bytecode_cp, bytecode_data_p); in ecma_op_create_function_object()
272 ecma_bytecode_ref ((ecma_compiled_code_t *) bytecode_data_p); in ecma_op_create_function_object()
335 ecma_compiled_code_t *bytecode_data_p = NULL; in ecma_op_create_dynamic_function() local
342 &bytecode_data_p); in ecma_op_create_dynamic_function()
376 ecma_bytecode_deref (bytecode_data_p); in ecma_op_create_dynamic_function()
383 …ecma_object_t *func_obj_p = ecma_op_create_function_object (global_env_p, bytecode_data_p, fallbac… in ecma_op_create_dynamic_function()
[all …]
Decma-objects-arguments.c48 const ecma_compiled_code_t *bytecode_data_p) /**< byte code */ in ecma_op_create_arguments_object() argument
50 bool is_strict = (bytecode_data_p->status_flags & CBC_CODE_FLAGS_STRICT_MODE) != 0; in ecma_op_create_arguments_object()
54 if (bytecode_data_p->status_flags & CBC_CODE_FLAGS_UINT16_ARGUMENTS) in ecma_op_create_arguments_object()
56 cbc_uint16_arguments_t *args_p = (cbc_uint16_arguments_t *) bytecode_data_p; in ecma_op_create_arguments_object()
62 cbc_uint8_arguments_t *args_p = (cbc_uint8_arguments_t *) bytecode_data_p; in ecma_op_create_arguments_object()
71 if ((bytecode_data_p->status_flags & CBC_CODE_FLAGS_MAPPED_ARGUMENTS_NEEDED) in ecma_op_create_arguments_object()
91 uint8_t *byte_p = (uint8_t *) bytecode_data_p; in ecma_op_create_arguments_object()
92 byte_p += ((size_t) bytecode_data_p->size) << JMEM_ALIGNMENT_LOG; in ecma_op_create_arguments_object()
Decma-eval.c91 ecma_compiled_code_t *bytecode_data_p; in ecma_op_eval_chars_buffer() local
115 &bytecode_data_p); in ecma_op_eval_chars_buffer()
122 return vm_run_eval (bytecode_data_p, parse_opts); in ecma_op_eval_chars_buffer()
Decma-function-object.h40 …reate_simple_function_object (ecma_object_t *scope_p, const ecma_compiled_code_t *bytecode_data_p);
58 …te_generator_function_object (ecma_object_t *scope_p, const ecma_compiled_code_t *bytecode_data_p);
61 …_create_arrow_function_object (ecma_object_t *scope_p, const ecma_compiled_code_t *bytecode_data_p,
Decma-objects-arguments.h25 const ecma_compiled_code_t *bytecode_data_p);
Decma-objects.c266 … const ecma_compiled_code_t *bytecode_data_p = ecma_op_function_get_compiled_code (ext_func_p); in ecma_op_object_get_own_property() local
269 if (bytecode_data_p->status_flags & CBC_CODE_FLAGS_UINT16_ARGUMENTS) in ecma_op_object_get_own_property()
271 cbc_uint16_arguments_t *args_p = (cbc_uint16_arguments_t *) bytecode_data_p; in ecma_op_object_get_own_property()
276 cbc_uint8_arguments_t *args_p = (cbc_uint8_arguments_t *) bytecode_data_p; in ecma_op_object_get_own_property()
618 … const ecma_compiled_code_t *bytecode_data_p = ecma_op_function_get_compiled_code (ext_func_p); in ecma_op_object_find_own() local
621 if (bytecode_data_p->status_flags & CBC_CODE_FLAGS_UINT16_ARGUMENTS) in ecma_op_object_find_own()
623 cbc_uint16_arguments_t *args_p = (cbc_uint16_arguments_t *) bytecode_data_p; in ecma_op_object_find_own()
628 cbc_uint8_arguments_t *args_p = (cbc_uint8_arguments_t *) bytecode_data_p; in ecma_op_object_find_own()
/third_party/jerryscript/jerry-core/api/
Djerry-snapshot.c752 ecma_compiled_code_t *bytecode_data_p; in jerry_generate_snapshot_with_args() local
766 &bytecode_data_p); in jerry_generate_snapshot_with_args()
773 JERRY_ASSERT (bytecode_data_p != NULL); in jerry_generate_snapshot_with_args()
777 … static_snapshot_add_compiled_code (bytecode_data_p, (uint8_t *) buffer_p, buffer_size, &globals); in jerry_generate_snapshot_with_args()
781 snapshot_add_compiled_code (bytecode_data_p, (uint8_t *) buffer_p, buffer_size, &globals); in jerry_generate_snapshot_with_args()
786 ecma_bytecode_deref (bytecode_data_p); in jerry_generate_snapshot_with_args()
805 ecma_save_literals_add_compiled_code (bytecode_data_p, lit_pool_p); in jerry_generate_snapshot_with_args()
816 ecma_bytecode_deref (bytecode_data_p); in jerry_generate_snapshot_with_args()
838 ecma_bytecode_deref (bytecode_data_p); in jerry_generate_snapshot_with_args()
Djerry.c481 ecma_compiled_code_t *bytecode_data_p; in jerry_parse() local
489 &bytecode_data_p); in jerry_parse()
499 ecma_object_t *func_obj_p = ecma_op_create_simple_function_object (lex_env_p, bytecode_data_p); in jerry_parse()
500 ecma_bytecode_deref (bytecode_data_p); in jerry_parse()
544 ecma_compiled_code_t *bytecode_data_p; in jerry_parse_function() local
570 &bytecode_data_p); in jerry_parse_function()
580 ecma_object_t *func_obj_p = ecma_op_create_simple_function_object (lex_env_p, bytecode_data_p); in jerry_parse_function()
581 ecma_bytecode_deref (bytecode_data_p); in jerry_parse_function()
3621 const ecma_compiled_code_t *bytecode_data_p = ecma_op_function_get_compiled_code (ext_func_p); in jerry_get_resource_name() local
3623 return ecma_copy_value (ecma_op_resource_name (bytecode_data_p)); in jerry_get_resource_name()
/third_party/jerryscript/jerry-core/parser/js/
Djs-parser.h191 uint32_t parse_opts, ecma_compiled_code_t **bytecode_data_p);
Djs-parser.c2693 ecma_compiled_code_t **bytecode_data_p) /**< [out] JS bytecode */ in parser_parse_script() argument
2708 *bytecode_data_p = parser_parse_source (arg_list_p, in parser_parse_script()
2715 if (!*bytecode_data_p) in parser_parse_script()
2778 ecma_bytecode_deref (*bytecode_data_p); in parser_parse_script()
2779 *bytecode_data_p = NULL; in parser_parse_script()
2815 JERRY_UNUSED (bytecode_data_p); in parser_parse_script()
/third_party/jerryscript/jerry-core/ecma/base/
Decma-module.c882 ecma_compiled_code_t *bytecode_data_p; in ecma_module_parse() local
888 &bytecode_data_p); in ecma_module_parse()
901 module_p->compiled_code_p = bytecode_data_p; in ecma_module_parse()
/third_party/jerryscript/jerry-core/vm/
Dvm.h438 ecma_value_t vm_run_eval (ecma_compiled_code_t *bytecode_data_p, uint32_t parse_opts);
Dvm.c354 vm_run_eval (ecma_compiled_code_t *bytecode_data_p, /**< byte-code data */ in vm_run_eval() argument
397 if ((bytecode_data_p->status_flags & CBC_CODE_FLAGS_STRICT_MODE) != 0) in vm_run_eval()
405 if ((bytecode_data_p->status_flags & CBC_CODE_FLAGS_LEXICAL_BLOCK_NEEDED) != 0) in vm_run_eval()
414 ecma_value_t completion_value = vm_run (bytecode_data_p, in vm_run_eval()
424 if (!(bytecode_data_p->status_flags & CBC_CODE_FLAGS_STATIC_FUNCTION)) in vm_run_eval()
426 ecma_bytecode_deref (bytecode_data_p); in vm_run_eval()
429 ecma_bytecode_deref (bytecode_data_p); in vm_run_eval()