Free eval's code and literal hash-table after its execution if it does not contain functions.

JerryScript-DCO-1.0-Signed-off-by: Andrey Shitov a.shitov@samsung.com
This commit is contained in:
Andrey Shitov
2015-08-19 20:13:26 +03:00
parent 13941df8dd
commit 01604974e3
5 changed files with 60 additions and 0 deletions
+1
View File
@@ -39,6 +39,7 @@ vm_instr_counter_t serializer_get_current_var_decls_counter (void);
vm_instr_counter_t serializer_count_instrs_in_subscopes (void);
void serializer_set_writing_position (vm_instr_counter_t);
void serializer_rewrite_op_meta (vm_instr_counter_t, op_meta);
void serializer_remove_instructions (const vm_instr_t *instrs_p);
void serializer_free (void);
#endif // SERIALIZER_H