| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |