Add vm_finalize() to clean program pointer for embed systems

JerryScript-DCO-1.0-Signed-off-by: SaeHie Park saehie.park@samsung.com
This commit is contained in:
SaeHie Park
2015-06-08 08:34:11 +09:00
parent 55b43071d1
commit 603fa56acf
3 changed files with 11 additions and 0 deletions
+1
View File
@@ -21,6 +21,7 @@
#include "opcodes.h"
extern void vm_init (const opcode_t* program_p, bool dump_mem_stats);
extern void vm_finalize (void);
extern jerry_completion_code_t vm_run_global (void);
extern ecma_completion_value_t vm_loop (int_data_t *int_data, vm_run_scope_t *run_scope_p);
extern ecma_completion_value_t vm_run_from_pos (opcode_counter_t start_pos,