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

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

Issue 10854066: Start moving the JavaScript backend related code into a separate library (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add missing import 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
« no previous file with comments | « lib/compiler/implementation/native_handler.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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('../leg.dart'); 7 #import('../leg.dart');
8 #import('../native_handler.dart', prefix: 'native');
9 #import('../source_file.dart'); 8 #import('../source_file.dart');
10 #import('../source_map_builder.dart'); 9 #import('../source_map_builder.dart');
11 #import('../elements/elements.dart'); 10 #import('../elements/elements.dart');
11 #import('../js_backend/js_backend.dart');
12 #import('../native_handler.dart', prefix: 'native');
12 #import('../scanner/scannerlib.dart'); 13 #import('../scanner/scannerlib.dart');
13 #import('../tree/tree.dart'); 14 #import('../tree/tree.dart');
14 #import('../util/util.dart'); 15 #import('../util/util.dart');
15 #import('../util/characters.dart'); 16 #import('../util/characters.dart');
16 17
17 #source('bailout.dart'); 18 #source('bailout.dart');
18 #source('builder.dart'); 19 #source('builder.dart');
19 #source('closure.dart'); 20 #source('closure.dart');
20 #source('codegen.dart'); 21 #source('codegen.dart');
21 #source('codegen_helpers.dart'); 22 #source('codegen_helpers.dart');
(...skipping 27 matching lines...) Expand all
49 50
50 bool hasTypeArguments(Type type) { 51 bool hasTypeArguments(Type type) {
51 if (type is InterfaceType) { 52 if (type is InterfaceType) {
52 InterfaceType interfaceType = type; 53 InterfaceType interfaceType = type;
53 return (!interfaceType.arguments.isEmpty() && 54 return (!interfaceType.arguments.isEmpty() &&
54 interfaceType.arguments.tail.isEmpty()); 55 interfaceType.arguments.tail.isEmpty());
55 } 56 }
56 return false; 57 return false;
57 } 58 }
58 } 59 }
OLDNEW
« no previous file with comments | « lib/compiler/implementation/native_handler.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698