Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(680)

Unified Diff: pkg/compiler/lib/src/ssa/locals_handler.dart

Issue 2928063002: Separate out ClosureAnalysisInfo to separate interfaces between what (Closed)
Patch Set: . Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/compiler/lib/src/ssa/locals_handler.dart
diff --git a/pkg/compiler/lib/src/ssa/locals_handler.dart b/pkg/compiler/lib/src/ssa/locals_handler.dart
index 3d0ff281544f3262bcc76c8d328fb6c736dc3f31..db914d3e723d58d1e76a2a6c4f64a19b2dc1d57f 100644
--- a/pkg/compiler/lib/src/ssa/locals_handler.dart
+++ b/pkg/compiler/lib/src/ssa/locals_handler.dart
@@ -205,7 +205,7 @@ class LocalsHandler {
parameters.forEach((Local local, TypeMask typeMask) {
if (isGenerativeConstructorBody) {
- if (scopeData != null && scopeData.isCapturedVariable(local)) {
+ if (scopeData != null && scopeData.isCaptured(local)) {
// The parameter will be a field in the box passed as the
// last parameter. So no need to have it.
return;
« pkg/compiler/lib/src/closure.dart ('K') | « pkg/compiler/lib/src/ssa/builder_kernel.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698