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

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

Issue 10668029: Associate partial source map with each code block in Universe.generatedCode. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 5 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('../leg.dart'); 7 #import('../leg.dart');
8 #import('../native_handler.dart', prefix: 'native'); 8 #import('../native_handler.dart', prefix: 'native');
9 #import('../source_file.dart');
9 #import('../elements/elements.dart'); 10 #import('../elements/elements.dart');
10 #import('../scanner/scannerlib.dart'); 11 #import('../scanner/scannerlib.dart');
11 #import('../tree/tree.dart'); 12 #import('../tree/tree.dart');
12 #import('../util/util.dart'); 13 #import('../util/util.dart');
13 #import('../util/characters.dart'); 14 #import('../util/characters.dart');
14 15
15 #source('bailout.dart'); 16 #source('bailout.dart');
16 #source('builder.dart'); 17 #source('builder.dart');
17 #source('closure.dart'); 18 #source('closure.dart');
18 #source('codegen.dart'); 19 #source('codegen.dart');
(...skipping 24 matching lines...) Expand all
43 44
44 bool hasTypeArguments(Type type) { 45 bool hasTypeArguments(Type type) {
45 if (type is InterfaceType) { 46 if (type is InterfaceType) {
46 InterfaceType interfaceType = type; 47 InterfaceType interfaceType = type;
47 return (!interfaceType.arguments.isEmpty() && 48 return (!interfaceType.arguments.isEmpty() &&
48 interfaceType.arguments.tail.isEmpty()); 49 interfaceType.arguments.tail.isEmpty());
49 } 50 }
50 return false; 51 return false;
51 } 52 }
52 } 53 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698