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

Unified Diff: pkg/compiler/lib/src/js_model/js_strategy.dart

Issue 2967933002: Bring js_model/model_test on par with compile_from_dill tests. (Closed)
Patch Set: Created 3 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/js_model/js_strategy.dart
diff --git a/pkg/compiler/lib/src/js_model/js_strategy.dart b/pkg/compiler/lib/src/js_model/js_strategy.dart
index d2e2caad4fc81aa1767174c3ebade8e0ff3e3e9b..82ac045a6c6965f690fe8c9e411d66169ce6c465 100644
--- a/pkg/compiler/lib/src/js_model/js_strategy.dart
+++ b/pkg/compiler/lib/src/js_model/js_strategy.dart
@@ -123,6 +123,9 @@ class JsBackendStrategy implements KernelBackendStrategy {
uses.map(_map.toBackendClass).toSet();
});
+ Iterable<MemberEntity> assignedInstanceMembers =
+ closedWorld.assignedInstanceMembers.map(_map.toBackendMember).toList();
+
return new JsClosedWorld(_elementMap,
elementEnvironment: _elementEnvironment,
dartTypes: _elementMap.types,
@@ -135,9 +138,9 @@ class JsBackendStrategy implements KernelBackendStrategy {
classSets: classSets,
implementedClasses: implementedClasses,
liveInstanceMembers: liveInstanceMembers,
+ assignedInstanceMembers: assignedInstanceMembers,
// TODO(johnniwinther): Support these.
allTypedefs: new ImmutableEmptySet<TypedefElement>(),
- resolutionWorldBuilder: null,
mixinUses: mixinUses,
typesImplementedBySubclasses: null);
}

Powered by Google App Engine
This is Rietveld 408576698