Update of several 'vm' component interfaces naming.

init_int -> vm_init;
 run_int -> vm_run_global;
 run_int_loop -> vm_loop;
 run_int_from_pos -> vm_run_from_pos;
 read_opcode -> vm_get_opcode.

JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
This commit is contained in:
Ruben Ayrapetyan
2015-05-25 16:58:14 +03:00
parent c3f9169eb7
commit 3a9bf24001
7 changed files with 75 additions and 58 deletions
+2 -2
View File
@@ -1225,7 +1225,7 @@ jerry_parse (const char* source_p, /**< script source */
bool is_show_mem_stats_per_opcode = ((jerry_flags & JERRY_FLAG_MEM_STATS_PER_OPCODE) != 0);
init_int (opcodes, is_show_mem_stats_per_opcode);
vm_init (opcodes, is_show_mem_stats_per_opcode);
return true;
} /* jerry_parse */
@@ -1240,7 +1240,7 @@ jerry_run (void)
{
jerry_assert_api_available ();
return run_int ();
return vm_run_global ();
} /* jerry_run */
/**
* Simple jerry runner