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 library dart2js.common.tasks; | 5 library dart2js.common.tasks; |
6 | 6 |
7 import 'dart:profiler' show | 7 import 'dart:developer' show |
8 UserTag; | 8 UserTag; |
9 import '../compiler.dart' show | 9 import '../compiler.dart' show |
10 Compiler; | 10 Compiler; |
11 import '../diagnostics/diagnostic_listener.dart' show | 11 import '../diagnostics/diagnostic_listener.dart' show |
12 DiagnosticReporter; | 12 DiagnosticReporter; |
13 import '../elements/elements.dart' show | 13 import '../elements/elements.dart' show |
14 Element; | 14 Element; |
15 | 15 |
16 typedef void DeferredAction(); | 16 typedef void DeferredAction(); |
17 | 17 |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 | 89 |
90 int getSubtaskTime(String subtask) => _subtasks[subtask].timing; | 90 int getSubtaskTime(String subtask) => _subtasks[subtask].timing; |
91 } | 91 } |
92 | 92 |
93 class GenericTask extends CompilerTask { | 93 class GenericTask extends CompilerTask { |
94 final String name; | 94 final String name; |
95 | 95 |
96 GenericTask(this.name, Compiler compiler) | 96 GenericTask(this.name, Compiler compiler) |
97 : super(compiler); | 97 : super(compiler); |
98 } | 98 } |
OLD | NEW |