RegExp refactoring and improvements
Move RegExp bytecode functions to a separate file. Optimize bytecode lenght on character matching. Implement a basic RegExp cache to optimize memory usage on duplicated RegExp in JS files. Also fix minor style issues and add missing comments. Improve existing comments. JerryScript-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com
This commit is contained in:
+1
-1
@@ -1655,9 +1655,9 @@ jerry_cleanup (void)
|
||||
|
||||
bool is_show_mem_stats = ((jerry_flags & JERRY_FLAG_MEM_STATS) != 0);
|
||||
|
||||
vm_finalize ();
|
||||
ecma_finalize ();
|
||||
lit_finalize ();
|
||||
vm_finalize ();
|
||||
mem_finalize (is_show_mem_stats);
|
||||
} /* jerry_cleanup */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user