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

Side by Side Diff: lib/compiler/implementation/ssa/ssa.dart

Issue 10855146: Make the closure-to-class translator more accessible. It can now be (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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('ssa'); 5 #library('ssa');
6 6
7 #import('../closure.dart');
7 #import('../js/js.dart', prefix: 'js'); 8 #import('../js/js.dart', prefix: 'js');
8 #import('../leg.dart'); 9 #import('../leg.dart');
9 #import('../source_file.dart'); 10 #import('../source_file.dart');
10 #import('../source_map_builder.dart'); 11 #import('../source_map_builder.dart');
11 #import('../elements/elements.dart'); 12 #import('../elements/elements.dart');
12 #import('../js_backend/js_backend.dart'); 13 #import('../js_backend/js_backend.dart');
13 #import('../native_handler.dart', prefix: 'native'); 14 #import('../native_handler.dart', prefix: 'native');
14 #import('../scanner/scannerlib.dart'); 15 #import('../scanner/scannerlib.dart');
15 #import('../tree/tree.dart'); 16 #import('../tree/tree.dart');
16 #import('../util/util.dart'); 17 #import('../util/util.dart');
17 #import('../util/characters.dart'); 18 #import('../util/characters.dart');
18 19
19 #source('bailout.dart'); 20 #source('bailout.dart');
20 #source('builder.dart'); 21 #source('builder.dart');
21 #source('closure.dart');
22 #source('codegen.dart'); 22 #source('codegen.dart');
23 #source('codegen_helpers.dart'); 23 #source('codegen_helpers.dart');
24 #source('js_names.dart'); 24 #source('js_names.dart');
25 #source('nodes.dart'); 25 #source('nodes.dart');
26 #source('optimize.dart'); 26 #source('optimize.dart');
27 #source('types.dart'); 27 #source('types.dart');
28 #source('types_propagation.dart'); 28 #source('types_propagation.dart');
29 #source('validate.dart'); 29 #source('validate.dart');
30 #source('variable_allocator.dart'); 30 #source('variable_allocator.dart');
31 #source('value_set.dart'); 31 #source('value_set.dart');
(...skipping 19 matching lines...) Expand all
51 51
52 bool hasTypeArguments(Type type) { 52 bool hasTypeArguments(Type type) {
53 if (type is InterfaceType) { 53 if (type is InterfaceType) {
54 InterfaceType interfaceType = type; 54 InterfaceType interfaceType = type;
55 return (!interfaceType.arguments.isEmpty() && 55 return (!interfaceType.arguments.isEmpty() &&
56 interfaceType.arguments.tail.isEmpty()); 56 interfaceType.arguments.tail.isEmpty());
57 } 57 }
58 return false; 58 return false;
59 } 59 }
60 } 60 }
OLDNEW
« lib/compiler/implementation/closure.dart ('K') | « lib/compiler/implementation/ssa/closure.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698