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

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

Issue 12033003: Deferred (aka lazy) loading of static functions. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address comments and use IsolateNatives.thisScript Created 7 years, 10 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:uri'; 8 import 'dart:uri';
9 import 'dart:collection' show Queue, LinkedHashMap; 9 import 'dart:collection' show Queue, LinkedHashMap;
10 10
(...skipping 16 matching lines...) Expand all
27 import 'source_file.dart'; 27 import 'source_file.dart';
28 import 'tree/tree.dart'; 28 import 'tree/tree.dart';
29 import 'universe/universe.dart'; 29 import 'universe/universe.dart';
30 import 'util/characters.dart'; 30 import 'util/characters.dart';
31 import 'util/util.dart'; 31 import 'util/util.dart';
32 import '../compiler.dart' as api; 32 import '../compiler.dart' as api;
33 import 'patch_parser.dart'; 33 import 'patch_parser.dart';
34 import 'types/types.dart' as ti; 34 import 'types/types.dart' as ti;
35 import 'resolution/resolution.dart'; 35 import 'resolution/resolution.dart';
36 import 'js/js.dart' as js; 36 import 'js/js.dart' as js;
37 import 'deferred_load.dart' show DeferredLoadTask;
37 38
38 export 'resolution/resolution.dart' show TreeElements, TreeElementMapping; 39 export 'resolution/resolution.dart' show TreeElements, TreeElementMapping;
39 export 'scanner/scannerlib.dart' show SourceString, 40 export 'scanner/scannerlib.dart' show SourceString,
40 isUserDefinableOperator, 41 isUserDefinableOperator,
41 isUnaryOperator, 42 isUnaryOperator,
42 isBinaryOperator, 43 isBinaryOperator,
43 isTernaryOperator, 44 isTernaryOperator,
44 isMinusOperator; 45 isMinusOperator;
45 export 'universe/universe.dart' show Selector; 46 export 'universe/universe.dart' show Selector;
46 47
47 part 'code_buffer.dart'; 48 part 'code_buffer.dart';
48 part 'compile_time_constants.dart'; 49 part 'compile_time_constants.dart';
49 part 'compiler.dart'; 50 part 'compiler.dart';
50 part 'constants.dart'; 51 part 'constants.dart';
51 part 'constant_system.dart'; 52 part 'constant_system.dart';
52 part 'constant_system_dart.dart'; 53 part 'constant_system_dart.dart';
53 part 'diagnostic_listener.dart'; 54 part 'diagnostic_listener.dart';
54 part 'enqueue.dart'; 55 part 'enqueue.dart';
55 part 'library_loader.dart'; 56 part 'library_loader.dart';
56 part 'resolved_visitor.dart'; 57 part 'resolved_visitor.dart';
57 part 'script.dart'; 58 part 'script.dart';
58 part 'tree_validator.dart'; 59 part 'tree_validator.dart';
59 part 'typechecker.dart'; 60 part 'typechecker.dart';
60 part 'warnings.dart'; 61 part 'warnings.dart';
61 part 'world.dart'; 62 part 'world.dart';
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698