Skip to content

Commit a0eb5d3

Browse files
Merge pull request jerryscript-project#39 from ruben-ayrapetyan/experiments-dev
Experiments dev
2 parents 2a027d4 + 47f1e9a commit a0eb5d3

File tree

9 files changed

+611
-646
lines changed

9 files changed

+611
-646
lines changed

jerry-core/parser/js/bc/bytecode-data.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
#include "bytecode-data.h"
1818
#include "pretty-printer.h"
19+
#include "opcodes-dumper.h"
1920

2021
static bytecode_data_header_t *first_bytecode_header_p = NULL;
2122

@@ -181,10 +182,10 @@ bc_dump_single_scope (scopes_tree scope_p,
181182

182183
scopes_tree_dump_var_decls (scope_p, (lit_cpointer_t *) (declarations_p + func_scopes_count));
183184

184-
vm_instr_t *bytecode_p = scopes_tree_dump_single_scope (scope_p,
185-
buffer_p + header_and_tables_size,
186-
bytecode_size,
187-
lit_id_hash);
185+
vm_instr_t *bytecode_p = dumper_dump_single_scope (scope_p,
186+
buffer_p + header_and_tables_size,
187+
bytecode_size,
188+
lit_id_hash);
188189

189190
JERRY_ASSERT (scope_p->max_uniq_literals_num >= lit_id_hash->current_bucket_pos);
190191

0 commit comments

Comments
 (0)