From 582e3e62db1bf888f6c60881694c05cf37a3b55f Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Tue, 7 Jan 2014 12:24:40 -0800 Subject: make aggressiveVariableElimination usable through a setting --- src/settings.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/settings.js b/src/settings.js index 753e2367..04b2cc79 100644 --- a/src/settings.js +++ b/src/settings.js @@ -156,6 +156,8 @@ var OUTLINING_LIMIT = 0; // A function size above which we try to automatically // with, but something around 20,000 to 100,000 might make sense. // (The unit size is number of AST nodes.) +var AGGRESSIVE_VARIABLE_ELIMINATION = 0; // Run aggressiveVariableElimination in js-optimizer.js + // Generated code debugging options var SAFE_HEAP = 0; // Check each write to the heap, for example, this will give a clear // error on what would be segfaults in a native build (like deferencing -- cgit v1.2.3-18-g5258