OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 trydart.poi; | 5 library trydart.poi; |
6 | 6 |
7 import 'dart:async' show | 7 import 'dart:async' show |
8 Completer, | 8 Completer, |
9 Future; | 9 Future; |
10 | 10 |
(...skipping 547 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
558 printWallClock('Skipped ${work.element}.'); | 558 printWallClock('Skipped ${work.element}.'); |
559 return; | 559 return; |
560 } | 560 } |
561 } | 561 } |
562 f(work); | 562 f(work); |
563 printWallClock('Processed ${work.element}.'); | 563 printWallClock('Processed ${work.element}.'); |
564 } | 564 } |
565 } | 565 } |
566 | 566 |
567 class PoiTask extends CompilerTask { | 567 class PoiTask extends CompilerTask { |
568 PoiTask(Compiler compiler) : super(compiler); | 568 PoiTask(Compiler compiler) : super(compiler.measurer); |
569 | 569 |
570 String get name => 'POI'; | 570 String get name => 'POI'; |
571 } | 571 } |
OLD | NEW |