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

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

Issue 2901103003: Pull the member context from the current target (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/ssa/builder.dart
diff --git a/pkg/compiler/lib/src/ssa/builder.dart b/pkg/compiler/lib/src/ssa/builder.dart
index 1943e06c96f520ac9b7fefaea911f96d6a0a2ee3..b038a0dd6a8e9478e84a6734a1c2016120ce82e4 100644
--- a/pkg/compiler/lib/src/ssa/builder.dart
+++ b/pkg/compiler/lib/src/ssa/builder.dart
@@ -5517,7 +5517,7 @@ class SsaBuilder extends ast.Visitor
// }
ExecutableElement loopVariable = elements.getForInVariable(node);
SyntheticLocal indexVariable =
- new SyntheticLocal('_i', loopVariable, loopVariable.memberContext);
+ new SyntheticLocal('_i', loopVariable, target);
TypeMask boolType = commonMasks.boolType;
// These variables are shared by initializer, condition, body and update.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698