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

Side by Side Diff: sdk/lib/_internal/compiler/implementation/dart2jslib.dart

Issue 223403003: Use closure tracer to identify closures that are not passed to Function.apply (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fixed issue with failing test Created 6 years, 8 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 | Annotate | Revision Log
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; 5 library dart2js;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:collection' show Queue; 8 import 'dart:collection' show Queue;
9 9
10 import 'closure.dart' as closureMapping; 10 import 'closure.dart' as closureMapping;
11 import 'dart_backend/dart_backend.dart' as dart_backend; 11 import 'dart_backend/dart_backend.dart' as dart_backend;
12 import 'dart_types.dart'; 12 import 'dart_types.dart';
13 import 'elements/elements.dart'; 13 import 'elements/elements.dart';
14 import 'elements/modelx.dart' 14 import 'elements/modelx.dart'
15 show ErroneousElementX, 15 show ErroneousElementX,
16 ClassElementX, 16 ClassElementX,
17 CompilationUnitElementX, 17 CompilationUnitElementX,
18 LibraryElementX, 18 LibraryElementX,
19 PrefixElementX, 19 PrefixElementX,
20 VoidElementX, 20 VoidElementX,
21 AnalyzableElement, 21 AnalyzableElement,
22 DeferredLoaderGetterElementX; 22 DeferredLoaderGetterElementX,
23 SynthesizedCallMethodElementX;
23 import 'js_backend/js_backend.dart' as js_backend; 24 import 'js_backend/js_backend.dart' as js_backend;
24 import 'native_handler.dart' as native; 25 import 'native_handler.dart' as native;
25 import 'scanner/scannerlib.dart'; 26 import 'scanner/scannerlib.dart';
26 import 'ssa/ssa.dart'; 27 import 'ssa/ssa.dart';
27 import 'tree/tree.dart'; 28 import 'tree/tree.dart';
28 import 'ir/ir_builder.dart' show IrBuilderTask; 29 import 'ir/ir_builder.dart' show IrBuilderTask;
29 import 'universe/universe.dart'; 30 import 'universe/universe.dart';
30 import 'util/util.dart'; 31 import 'util/util.dart';
31 import 'util/characters.dart' show $_; 32 import 'util/characters.dart' show $_;
32 import '../compiler.dart' as api; 33 import '../compiler.dart' as api;
(...skipping 30 matching lines...) Expand all
63 part 'constant_system_dart.dart'; 64 part 'constant_system_dart.dart';
64 part 'diagnostic_listener.dart'; 65 part 'diagnostic_listener.dart';
65 part 'enqueue.dart'; 66 part 'enqueue.dart';
66 part 'library_loader.dart'; 67 part 'library_loader.dart';
67 part 'resolved_visitor.dart'; 68 part 'resolved_visitor.dart';
68 part 'script.dart'; 69 part 'script.dart';
69 part 'tree_validator.dart'; 70 part 'tree_validator.dart';
70 part 'typechecker.dart'; 71 part 'typechecker.dart';
71 part 'warnings.dart'; 72 part 'warnings.dart';
72 part 'world.dart'; 73 part 'world.dart';
OLDNEW
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/closure.dart ('k') | sdk/lib/_internal/compiler/implementation/elements/modelx.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698