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

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

Issue 2938203003: Compute KernelClosureRepresentationInfo.variableIsUsedInTryOrSync (Closed)
Patch Set: Merge KernelClosureConversionTask and KernelClosureDataLookup 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) 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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 int assembleProgram(Namer namer, ClosedWorld closedWorld) { 189 int assembleProgram(Namer namer, ClosedWorld closedWorld) {
190 return measure(() { 190 return measure(() {
191 _finalizeRti(); 191 _finalizeRti();
192 ProgramBuilder programBuilder = new ProgramBuilder( 192 ProgramBuilder programBuilder = new ProgramBuilder(
193 compiler.options, 193 compiler.options,
194 compiler.reporter, 194 compiler.reporter,
195 closedWorld.elementEnvironment, 195 closedWorld.elementEnvironment,
196 closedWorld.commonElements, 196 closedWorld.commonElements,
197 compiler.types, 197 compiler.types,
198 compiler.deferredLoadTask, 198 compiler.deferredLoadTask,
199 compiler.closureDataLookup, 199 compiler.backendStrategy.closureDataLookup,
200 compiler.codegenWorldBuilder, 200 compiler.codegenWorldBuilder,
201 backend.nativeCodegenEnqueuer, 201 backend.nativeCodegenEnqueuer,
202 closedWorld.backendUsage, 202 closedWorld.backendUsage,
203 backend.constants, 203 backend.constants,
204 closedWorld.nativeData, 204 closedWorld.nativeData,
205 backend.rtiNeed, 205 backend.rtiNeed,
206 backend.mirrorsData, 206 backend.mirrorsData,
207 closedWorld.interceptorData, 207 closedWorld.interceptorData,
208 backend.superMemberData, 208 backend.superMemberData,
209 typeTestRegistry.rtiChecks, 209 typeTestRegistry.rtiChecks,
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 @override 330 @override
331 jsAst.PropertyAccess interceptorClassAccess(ClassEntity element) { 331 jsAst.PropertyAccess interceptorClassAccess(ClassEntity element) {
332 return globalPropertyAccessForClass(element); 332 return globalPropertyAccessForClass(element);
333 } 333 }
334 334
335 @override 335 @override
336 jsAst.PropertyAccess typeAccess(Entity element) { 336 jsAst.PropertyAccess typeAccess(Entity element) {
337 return globalPropertyAccessForType(element); 337 return globalPropertyAccessForType(element);
338 } 338 }
339 } 339 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698