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

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

Issue 2969013002: Support creating elements from IR nodes in JsKernelToElementMap (Closed)
Patch Set: Updated cf. comments 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
« no previous file with comments | « pkg/compiler/lib/src/js_model/elements.dart ('k') | pkg/compiler/lib/src/kernel/element_map_impl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 138c6cc3f3496604ecd845ad337e39a3f4591e04..8203349414e19eacc2c629dd9aedfd34e2536606 100644
--- a/pkg/compiler/lib/src/js_model/js_strategy.dart
+++ b/pkg/compiler/lib/src/js_model/js_strategy.dart
@@ -114,6 +114,7 @@ class JsBackendStrategy implements KernelBackendStrategy {
return new JsClosedWorld(
elementEnvironment: _elementEnvironment,
+ dartTypes: _elementMap.types,
commonElements: _commonElements,
constantSystem: const JavaScriptConstantSystem(),
backendUsage: backendUsage,
@@ -122,8 +123,12 @@ class JsBackendStrategy implements KernelBackendStrategy {
classHierarchyNodes: classHierarchyNodes,
classSets: classSets,
implementedClasses: implementedClasses,
- // TODO(johnniwinther): Support this.
- allTypedefs: new ImmutableEmptySet<TypedefElement>());
+ // TODO(johnniwinther): Support these.
+ allTypedefs: new ImmutableEmptySet<TypedefElement>(),
+ resolutionWorldBuilder: null,
+ functionSet: null,
+ mixinUses: null,
+ typesImplementedBySubclasses: null);
}
@override
« no previous file with comments | « pkg/compiler/lib/src/js_model/elements.dart ('k') | pkg/compiler/lib/src/kernel/element_map_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698