From 958d4dbd2e7d4bdbdeaa55a51193ea66f6721006 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Wed, 13 Feb 2013 01:52:12 -0800 Subject: [PATCH] Remove more unused variables in debug builds. Former-commit-id: dd50d5d0b855a85ca8099d92288f2ca621a532fa --- build.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.js b/build.js index 0d61124d7..e38a3f1aa 100755 --- a/build.js +++ b/build.js @@ -2355,6 +2355,10 @@ } if ((source.match(/\bcreateIterator\b/g) || []).length < 2) { source = removeFunction(source, 'createIterator'); + source = removeVar(source, 'defaultsIteratorOptions'); + source = removeVar(source, 'eachIteratorOptions'); + source = removeVar(source, 'forOwnIteratorOptions'); + source = removeVar(source, 'templateIterator'); source = removeHasDontEnumBug(source); source = removeHasEnumPrototype(source); }