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

Unified Diff: pkg/compiler/lib/src/js_backend/element_strategy.dart

Issue 2938193003: Revert "Towards compiling Hello World!" and "Compile and run Hello World!" (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/js_backend/element_strategy.dart
diff --git a/pkg/compiler/lib/src/js_backend/element_strategy.dart b/pkg/compiler/lib/src/js_backend/element_strategy.dart
index b58b3c446df1850d9ed78d7bb953334937658850..dbc044cda9046f4ff01d6776f317c36047e49804 100644
--- a/pkg/compiler/lib/src/js_backend/element_strategy.dart
+++ b/pkg/compiler/lib/src/js_backend/element_strategy.dart
@@ -51,12 +51,8 @@ class ElementBackendStrategy implements BackendStrategy {
NativeBasicData nativeBasicData,
ClosedWorld closedWorld,
SelectorConstraintsStrategy selectorConstraintsStrategy) {
- return new ElementCodegenWorldBuilderImpl(
- _compiler.backend.constants,
- closedWorld.elementEnvironment,
- nativeBasicData,
- closedWorld,
- selectorConstraintsStrategy);
+ return new ElementCodegenWorldBuilderImpl(closedWorld.elementEnvironment,
+ nativeBasicData, closedWorld, selectorConstraintsStrategy);
}
@override
@@ -159,7 +155,7 @@ class ElementCodegenWorkItem extends CodegenWorkItem {
MemberElement get element => resolvedAst.element;
WorldImpact run() {
- registry = new CodegenRegistry(_closedWorld.elementEnvironment, element);
+ registry = new CodegenRegistry(element);
return _backend.codegen(this, _closedWorld);
}
« no previous file with comments | « pkg/compiler/lib/src/js_backend/constant_handler_javascript.dart ('k') | pkg/compiler/lib/src/js_backend/namer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698