Searched refs:lit_value (Results 1 – 7 of 7) sorted by relevance
/third_party/jerryscript/jerry-core/parser/js/ |
D | js-parser-util.c | 396 uint16_t lit_value = UINT16_MAX; in parser_emit_cbc_push_number() local 402 lit_value = context_p->last_cbc.literal_index; in parser_emit_cbc_push_number() 409 lit_value = context_p->last_cbc.value; in parser_emit_cbc_push_number() 414 lit_value = context_p->last_cbc.third_literal_index; in parser_emit_cbc_push_number() 423 if (lit_value == UINT16_MAX) in parser_emit_cbc_push_number() 430 context_p->last_cbc.literal_index = lit_value; in parser_emit_cbc_push_number() 436 if (lit_value == UINT16_MAX) in parser_emit_cbc_push_number() 449 context_p->last_cbc.literal_index = lit_value; in parser_emit_cbc_push_number()
|
D | js-parser.c | 230 ecma_value_t lit_value; in parser_init_literal_pool() local 232 lit_value = ecma_find_or_create_literal_string (literal_p->u.char_p, in parser_init_literal_pool() 235 lit_value = literal_p->u.value; in parser_init_literal_pool() 239 literal_pool_p[literal_p->prop.index] = lit_value; in parser_init_literal_pool() 1592 ecma_value_t lit_value = ecma_find_or_create_literal_string (char_p, in parser_post_processing() local 1594 literal_pool_p[literal_p->prop.index] = lit_value; in parser_post_processing()
|
D | js-lexer.c | 2514 ecma_value_t lit_value = ecma_find_or_create_literal_number (num); in lexer_construct_number_object() local 2520 && literal_p->u.value == lit_value) in lexer_construct_number_object() 2538 literal_p->u.value = lit_value; in lexer_construct_number_object() 2576 ecma_value_t lit_value = ecma_make_integer_value (value); in lexer_convert_push_number_to_push_literal() local 2589 && literal_p->u.value == lit_value) in lexer_convert_push_number_to_push_literal() 2613 literal_p->u.value = lit_value; in lexer_convert_push_number_to_push_literal()
|
/third_party/jerryscript/jerry-core/vm/ |
D | vm.c | 442 ecma_value_t lit_value) /**< literal */ in vm_construct_literal_object() argument 451 lit_value); 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() 1330 ecma_value_t lit_value = ECMA_VALUE_UNDEFINED; in vm_loop() local 1338 lit_value = vm_construct_literal_object (frame_ctx_p, in vm_loop() 1379 if (lit_value != ECMA_VALUE_UNDEFINED) in vm_loop() 1381 result = vm_set_var (lex_env_p, name_p, is_strict, lit_value); in vm_loop() 1395 ecma_value_t lit_value = ECMA_VALUE_UNDEFINED; in vm_loop() local 1405 lit_value = vm_construct_literal_object (frame_ctx_p, in vm_loop() 1446 if (lit_value == ECMA_VALUE_UNDEFINED) in vm_loop() [all …]
|
D | opcodes.h | 66 … (ecma_object_t *lex_env_p, ecma_string_t *var_name_str_p, bool is_strict, ecma_value_t lit_value);
|
D | opcodes.c | 95 ecma_value_t lit_value) /**< function value */ in vm_set_var() argument 98 …ut_value_result = ecma_op_put_value_lex_env_base (lex_env_p, var_name_str_p, is_strict, lit_value); in vm_set_var() 104 ecma_free_value (lit_value); in vm_set_var()
|
/third_party/jerryscript/jerry-core/api/ |
D | jerry-snapshot.c | 1100 ecma_value_t lit_value = ecma_snapshot_get_literal (literal_base_p, literal_start_p[i]); in scan_snapshot_functions() local 1101 ecma_save_literals_append_value (lit_value, lit_pool_p); in scan_snapshot_functions() 1115 ecma_value_t lit_value = ecma_snapshot_get_literal (literal_base_p, literal_start_p[i]); in scan_snapshot_functions() local 1116 ecma_save_literals_append_value (lit_value, lit_pool_p); in scan_snapshot_functions() 1171 ecma_value_t lit_value = ecma_snapshot_get_literal (literal_base_p, literal_start_p[i]); in update_literal_offsets() local 1174 while (current_p->literal_id != lit_value) in update_literal_offsets() 1193 ecma_value_t lit_value = ecma_snapshot_get_literal (literal_base_p, literal_start_p[i]); in update_literal_offsets() local 1196 while (current_p->literal_id != lit_value) in update_literal_offsets()
|