aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-11-09 09:22:24 -0800
committerAlon Zakai <alonzakai@gmail.com>2013-11-09 09:22:24 -0800
commite203c5b86c34c75e4b790bf2d22de926083d73ee (patch)
tree6e67aa5c8aa5225c63719dc82724c351d876e785
parent7f5c2dec956c2d24b524583f80b23282d0c60353 (diff)
remove unneeded var
-rw-r--r--tools/js-optimizer.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/js-optimizer.js b/tools/js-optimizer.js
index 20d4d3d2..3e1b2b7f 100644
--- a/tools/js-optimizer.js
+++ b/tools/js-optimizer.js
@@ -1142,8 +1142,6 @@ function simplifyNotComps(ast) {
simplifyNotCompsPass = false;
}
-var NO_SIDE_EFFECTS = set('num', 'name');
-
function hasSideEffects(node) { // this is 99% incomplete!
switch (node[0]) {
case 'num': case 'name': return false;