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

Side by Side Diff: pkg/compiler/lib/src/js_model/js_strategy.dart

Issue 2939033002: Towards compiling Hello World! (Closed)
Patch Set: Fix parameter ordering 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library dart2js.js_model.strategy; 5 library dart2js.js_model.strategy;
6 6
7 import '../backend_strategy.dart'; 7 import '../backend_strategy.dart';
8 import '../closure.dart' show ClosureConversionTask; 8 import '../closure.dart' show ClosureConversionTask;
9 import '../common/tasks.dart'; 9 import '../common/tasks.dart';
10 import '../common_elements.dart'; 10 import '../common_elements.dart';
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 @override 136 @override
137 WorkItemBuilder createCodegenWorkItemBuilder(ClosedWorld closedWorld) { 137 WorkItemBuilder createCodegenWorkItemBuilder(ClosedWorld closedWorld) {
138 return new KernelCodegenWorkItemBuilder(_compiler.backend, closedWorld); 138 return new KernelCodegenWorkItemBuilder(_compiler.backend, closedWorld);
139 } 139 }
140 140
141 @override 141 @override
142 CodegenWorldBuilder createCodegenWorldBuilder( 142 CodegenWorldBuilder createCodegenWorldBuilder(
143 NativeBasicData nativeBasicData, 143 NativeBasicData nativeBasicData,
144 ClosedWorld closedWorld, 144 ClosedWorld closedWorld,
145 SelectorConstraintsStrategy selectorConstraintsStrategy) { 145 SelectorConstraintsStrategy selectorConstraintsStrategy) {
146 return new KernelCodegenWorldBuilder(closedWorld.elementEnvironment, 146 KernelFrontEndStrategy frontendStrategy = _compiler.frontendStrategy;
147 nativeBasicData, closedWorld, selectorConstraintsStrategy); 147 return new KernelCodegenWorldBuilder(
148 frontendStrategy.elementMap,
149 closedWorld.elementEnvironment,
150 nativeBasicData,
151 closedWorld,
152 selectorConstraintsStrategy);
148 } 153 }
149 } 154 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698