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

Side by Side Diff: pkg/compiler/lib/src/js_emitter/code_emitter_task.dart

Issue 2875313002: Access BackendUsage through ClosedWorld (Closed)
Patch Set: Created 3 years, 7 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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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_emitter.code_emitter_task; 5 library dart2js.js_emitter.code_emitter_task;
6 6
7 import 'package:js_runtime/shared/embedded_names.dart' show JsBuiltin; 7 import 'package:js_runtime/shared/embedded_names.dart' show JsBuiltin;
8 8
9 import '../common.dart'; 9 import '../common.dart';
10 import '../common/tasks.dart' show CompilerTask; 10 import '../common/tasks.dart' show CompilerTask;
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 ProgramBuilder programBuilder = new ProgramBuilder( 190 ProgramBuilder programBuilder = new ProgramBuilder(
191 compiler.options, 191 compiler.options,
192 compiler.reporter, 192 compiler.reporter,
193 compiler.elementEnvironment, 193 compiler.elementEnvironment,
194 compiler.commonElements, 194 compiler.commonElements,
195 compiler.types, 195 compiler.types,
196 compiler.deferredLoadTask, 196 compiler.deferredLoadTask,
197 compiler.closureToClassMapper, 197 compiler.closureToClassMapper,
198 compiler.codegenWorldBuilder, 198 compiler.codegenWorldBuilder,
199 backend.nativeCodegenEnqueuer, 199 backend.nativeCodegenEnqueuer,
200 backend.backendUsage, 200 closedWorld.backendUsage,
201 backend.constants, 201 backend.constants,
202 closedWorld.nativeData, 202 closedWorld.nativeData,
203 backend.rtiNeed, 203 backend.rtiNeed,
204 backend.mirrorsData, 204 backend.mirrorsData,
205 closedWorld.interceptorData, 205 closedWorld.interceptorData,
206 backend.superMemberData, 206 backend.superMemberData,
207 typeTestRegistry.rtiChecks, 207 typeTestRegistry.rtiChecks,
208 backend.rtiEncoder, 208 backend.rtiEncoder,
209 backend.rtiSubstitutions, 209 backend.rtiSubstitutions,
210 backend.jsInteropAnalysis, 210 backend.jsInteropAnalysis,
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 278
279 /// Returns the JS code for accessing the given [constant]. 279 /// Returns the JS code for accessing the given [constant].
280 jsAst.Expression constantReference(ConstantValue constant); 280 jsAst.Expression constantReference(ConstantValue constant);
281 281
282 /// Returns the JS template for the given [builtin]. 282 /// Returns the JS template for the given [builtin].
283 jsAst.Template templateForBuiltin(JsBuiltin builtin); 283 jsAst.Template templateForBuiltin(JsBuiltin builtin);
284 284
285 /// Returns the size of the code generated for a given output [unit]. 285 /// Returns the size of the code generated for a given output [unit].
286 int generatedSize(OutputUnit unit); 286 int generatedSize(OutputUnit unit);
287 } 287 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/js_backend/runtime_types.dart ('k') | pkg/compiler/lib/src/js_emitter/full_emitter/class_emitter.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698