Introduce parser-time optimization that replaces a function's local variables with registers.

JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
This commit is contained in:
Ruben Ayrapetyan
2015-08-21 14:19:04 +03:00
parent 91aecc3bd0
commit 5b9ce05491
11 changed files with 360 additions and 65 deletions
+5
View File
@@ -167,4 +167,9 @@
*/
// #define CONFIG_VM_RUN_GC_AFTER_EACH_OPCODE
/**
* Flag, indicating whether to enable parser-time byte-code optimizations
*/
#define CONFIG_PARSER_ENABLE_PARSE_TIME_BYTE_CODE_OPTIMIZER
#endif /* !CONFIG_H */