Index: pkg/compiler/lib/src/js_model/closure_visitors.dart |
diff --git a/pkg/compiler/lib/src/js_model/closure_visitors.dart b/pkg/compiler/lib/src/js_model/closure_visitors.dart |
index 2f378426de11c91a56b7975b58f1d58d8f170cd4..8589ff25e038eb8306e8852d481948b8c1b606ec 100644 |
--- a/pkg/compiler/lib/src/js_model/closure_visitors.dart |
+++ b/pkg/compiler/lib/src/js_model/closure_visitors.dart |
@@ -97,7 +97,6 @@ class CapturedScopeBuilder extends ir.Visitor { |
_currentLocalFunction, |
from.localsUsedInTryOrSync, |
from.freeVariables, |
- from.localsMap, |
_thisLocal); |
} |
} |
@@ -207,7 +206,6 @@ class CapturedScopeBuilder extends ir.Visitor { |
scope.context, |
scope.localsUsedInTryOrSync, |
scope.freeVariables, |
- _localsMap, |
scope.thisLocal); |
} |
@@ -222,7 +220,7 @@ class CapturedScopeBuilder extends ir.Visitor { |
_isInsideClosure = _outermostNode != null; |
_executableContext = node; |
- _currentScopeInfo = new KernelScopeInfo(_thisLocal, _localsMap); |
+ _currentScopeInfo = new KernelScopeInfo(_thisLocal); |
if (_isInsideClosure) { |
_closuresToGenerate[node] = _currentScopeInfo; |
_currentLocalFunction = _localsMap.getLocalFunction(node.parent); |