Remove final users of dart:profiler library
BUG= R=turnidge@google.com Review URL: https://codereview.chromium.org/1394533002 .
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
library engine.utilities.general;
|
||||
|
||||
import 'dart:profiler';
|
||||
import 'dart:developer' show UserTag;
|
||||
|
||||
/**
|
||||
* Jenkins hash function, optimized for small integers.
|
||||
@@ -33,7 +33,7 @@ class JenkinsSmiHash {
|
||||
|
||||
/**
|
||||
* Helper class for gathering performance statistics. This class is modeled on
|
||||
* the UserTag class in dart:profiler so that it can interoperate easily with
|
||||
* the UserTag class in dart:developer so that it can interoperate easily with
|
||||
* it.
|
||||
*/
|
||||
abstract class PerformanceTag {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
library dart2js.common.tasks;
|
||||
|
||||
import 'dart:profiler' show
|
||||
import 'dart:developer' show
|
||||
UserTag;
|
||||
import '../compiler.dart' show
|
||||
Compiler;
|
||||
|
||||
@@ -8,7 +8,7 @@ import 'dart:async' show
|
||||
EventSink,
|
||||
Future;
|
||||
|
||||
import 'dart:profiler' show
|
||||
import 'dart:developer' show
|
||||
UserTag;
|
||||
|
||||
import 'package:compiler/src/apiimpl.dart' show
|
||||
|
||||
@@ -358,7 +358,7 @@ TEST_CASE(SafepointTestDart) {
|
||||
#endif // USING_SIMULATOR
|
||||
char buffer[1024];
|
||||
OS::SNPrint(buffer, sizeof(buffer),
|
||||
"import 'dart:profiler';\n"
|
||||
"import 'dart:developer';\n"
|
||||
"int dummy = 0;\n"
|
||||
"main() {\n"
|
||||
" new UserTag('foo').makeCurrent();\n"
|
||||
|
||||
Reference in New Issue
Block a user