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

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

Issue 2129183002: Support checked mode (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 5 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/builder.dart
diff --git a/pkg/compiler/lib/src/ssa/builder.dart b/pkg/compiler/lib/src/ssa/builder.dart
index 76070774a5bff3f0d5b9cf3d2f4196cee0c3ff2f..ba9e66fa795075402193f2a8a0dd43422b931208 100644
--- a/pkg/compiler/lib/src/ssa/builder.dart
+++ b/pkg/compiler/lib/src/ssa/builder.dart
@@ -1746,7 +1746,8 @@ class SsaBuilder extends ast.Visitor
}
HGraph buildCheckedSetter(VariableElement field) {
- openFunction(field, field.node);
+ ResolvedAst resolvedAst = field.resolvedAst;
+ openFunction(field, resolvedAst.node);
HInstruction thisInstruction = localsHandler.readThis();
// Use dynamic type because the type computed by the inferrer is
// narrowed to the type annotation.
« no previous file with comments | « pkg/compiler/lib/src/resolution/signatures.dart ('k') | tests/compiler/dart2js/serialization/compilation_test_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698