| OLD | NEW |
| 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 1276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1287 String banner = 'compiler cancelled'; | 1287 String banner = 'compiler cancelled'; |
| 1288 return (reason != null) ? '$banner: $reason' : '$banner'; | 1288 return (reason != null) ? '$banner: $reason' : '$banner'; |
| 1289 } | 1289 } |
| 1290 } | 1290 } |
| 1291 | 1291 |
| 1292 class Tracer { | 1292 class Tracer { |
| 1293 final bool enabled = false; | 1293 final bool enabled = false; |
| 1294 | 1294 |
| 1295 const Tracer(); | 1295 const Tracer(); |
| 1296 | 1296 |
| 1297 void traceCompilation(String methodName, ItemCompilationContext context) { | 1297 void traceCompilation(String methodName, |
| 1298 ItemCompilationContext context, |
| 1299 Compiler compiler) { |
| 1298 } | 1300 } |
| 1299 | 1301 |
| 1300 void traceGraph(String name, var graph) { | 1302 void traceGraph(String name, var graph) { |
| 1301 } | 1303 } |
| 1302 | 1304 |
| 1303 void close() { | 1305 void close() { |
| 1304 } | 1306 } |
| 1305 } | 1307 } |
| 1306 | 1308 |
| 1307 class SourceSpan { | 1309 class SourceSpan { |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1365 | 1367 |
| 1366 void close() {} | 1368 void close() {} |
| 1367 | 1369 |
| 1368 toString() => name; | 1370 toString() => name; |
| 1369 | 1371 |
| 1370 /// Convenience method for getting an [api.CompilerOutputProvider]. | 1372 /// Convenience method for getting an [api.CompilerOutputProvider]. |
| 1371 static NullSink outputProvider(String name, String extension) { | 1373 static NullSink outputProvider(String name, String extension) { |
| 1372 return new NullSink('$name.$extension'); | 1374 return new NullSink('$name.$extension'); |
| 1373 } | 1375 } |
| 1374 } | 1376 } |
| OLD | NEW |