Home
last modified time | relevance | path

Searched refs:byte_code_size (Results 1 – 5 of 5) sorted by relevance

/third_party/jerryscript/jerry-core/parser/js/
Djs-parser-util.c168 context_p->byte_code_size++; in parser_flush_cbc()
177 context_p->byte_code_size += 2; in parser_flush_cbc()
191 context_p->byte_code_size += 2; in parser_flush_cbc()
201 context_p->byte_code_size += 2; in parser_flush_cbc()
210 context_p->byte_code_size += 2; in parser_flush_cbc()
227 context_p->byte_code_size++; in parser_flush_cbc()
486 context_p->byte_code_size += 2; in parser_emit_line_info()
510 context_p->byte_code_size++; in parser_emit_line_info()
573 branch_p->offset = (context_p->byte_code.last_position - 1) | (context_p->byte_code_size << 8); in parser_emit_cbc_forward_branch()
575 context_p->byte_code_size += extra_byte_code_increase; in parser_emit_cbc_forward_branch()
[all …]
Djs-parser.c2064 context.byte_code_size = 0; in parser_parse_source()
2318 saved_context_p->byte_code_size = context_p->byte_code_size; in parser_save_context()
2346 context_p->byte_code_size = 0; in parser_save_context()
2391 context_p->byte_code_size = saved_context_p->byte_code_size; in parser_restore_context()
Djs-parser-internal.h471 uint32_t byte_code_size; /**< byte code size for branches */ member
541 uint32_t byte_code_size; /**< current byte code size for branches */ member
Djs-parser-statm.c1049 while_statement.start_offset = context_p->byte_code_size; in parser_parse_while_statement_start()
1280 for_in_of_statement.start_offset = context_p->byte_code_size; in parser_parse_for_statement_start()
1540 for_statement.start_offset = context_p->byte_code_size; in parser_parse_for_statement_start()
2882 do_while_statement.start_offset = context_p->byte_code_size; in parser_parse_statements()
/third_party/jerryscript/jerry-core/jmem/
Djmem-allocator.c32 jmem_stats_allocate_byte_code_bytes (size_t byte_code_size) in jmem_stats_allocate_byte_code_bytes() argument
36 heap_stats->byte_code_bytes += byte_code_size; in jmem_stats_allocate_byte_code_bytes()
48 jmem_stats_free_byte_code_bytes (size_t byte_code_size) in jmem_stats_free_byte_code_bytes() argument
52 JERRY_ASSERT (heap_stats->byte_code_bytes >= byte_code_size); in jmem_stats_free_byte_code_bytes()
54 heap_stats->byte_code_bytes -= byte_code_size; in jmem_stats_free_byte_code_bytes()