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

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

Issue 15724021: Move array and string related HType from const to a field in the backend. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 6 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 part of dart2js; 5 part of dart2js;
6 6
7 /** 7 /**
8 * If true, print a warning for each method that was resolved, but not 8 * If true, print a warning for each method that was resolved, but not
9 * compiled. 9 * compiled.
10 */ 10 */
(...skipping 1281 matching lines...) Expand 10 before | Expand all | Expand 10 after
1292 String banner = 'compiler cancelled'; 1292 String banner = 'compiler cancelled';
1293 return (reason != null) ? '$banner: $reason' : '$banner'; 1293 return (reason != null) ? '$banner: $reason' : '$banner';
1294 } 1294 }
1295 } 1295 }
1296 1296
1297 class Tracer { 1297 class Tracer {
1298 final bool enabled = false; 1298 final bool enabled = false;
1299 1299
1300 const Tracer(); 1300 const Tracer();
1301 1301
1302 void traceCompilation(String methodName, ItemCompilationContext context) { 1302 void traceCompilation(String methodName,
1303 ItemCompilationContext context,
1304 Compiler compiler) {
1303 } 1305 }
1304 1306
1305 void traceGraph(String name, var graph) { 1307 void traceGraph(String name, var graph) {
1306 } 1308 }
1307 1309
1308 void close() { 1310 void close() {
1309 } 1311 }
1310 } 1312 }
1311 1313
1312 class SourceSpan { 1314 class SourceSpan {
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
1370 1372
1371 void close() {} 1373 void close() {}
1372 1374
1373 toString() => name; 1375 toString() => name;
1374 1376
1375 /// Convenience method for getting an [api.CompilerOutputProvider]. 1377 /// Convenience method for getting an [api.CompilerOutputProvider].
1376 static NullSink outputProvider(String name, String extension) { 1378 static NullSink outputProvider(String name, String extension) {
1377 return new NullSink('$name.$extension'); 1379 return new NullSink('$name.$extension');
1378 } 1380 }
1379 } 1381 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698