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

Side by Side Diff: site/try/poi/poi.dart

Issue 2000323006: Make CompilerTask independent of compiler. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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
OLDNEW
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698