mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 09:43:57 +00:00
[VM] Minor cleanup
TEST=ci Change-Id: I8b7b3533326be7572ccfdb1ea7f81c6f154e9030 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/343341 Reviewed-by: Alexander Aprelev <aam@google.com> Commit-Queue: Siva Annamalai <asiva@google.com>
This commit is contained in:
parent
94c8d341d7
commit
a0c9333ff3
|
@ -86,10 +86,6 @@ Utils::CStringUniquePtr DartDevIsolate::TryResolveDartDevSnapshotPath() {
|
|||
return TryResolveArtifactPath("dartdev.dart.snapshot");
|
||||
}
|
||||
|
||||
Utils::CStringUniquePtr DartDevIsolate::TryResolveDartDevKernelPath() {
|
||||
return TryResolveArtifactPath("dartdev.dill");
|
||||
}
|
||||
|
||||
void DartDevIsolate::DartDevRunner::Run(
|
||||
Dart_IsolateGroupCreateCallback create_isolate,
|
||||
char** packages_file,
|
||||
|
|
|
@ -46,9 +46,6 @@ class DartDevIsolate {
|
|||
|
||||
static bool should_run_dart_dev() { return should_run_dart_dev_; }
|
||||
|
||||
// Attempts to find the path of the DartDev kernel file.
|
||||
static Utils::CStringUniquePtr TryResolveDartDevKernelPath();
|
||||
|
||||
// Attempts to find the path of the DartDev snapshot.
|
||||
static Utils::CStringUniquePtr TryResolveDartDevSnapshotPath();
|
||||
|
||||
|
|
|
@ -372,11 +372,11 @@ static Dart_Isolate IsolateSetupHelper(Dart_Isolate isolate,
|
|||
CHECK_RESULT(result);
|
||||
}
|
||||
|
||||
#if !defined(DART_PRECOMPILED_RUNTIME)
|
||||
// Disable pausing the DartDev isolate on start and exit.
|
||||
const char* isolate_name = nullptr;
|
||||
result = Dart_StringToCString(Dart_DebugName(), &isolate_name);
|
||||
CHECK_RESULT(result);
|
||||
#if !defined(DART_PRECOMPILED_RUNTIME)
|
||||
if (strstr(isolate_name, DART_DEV_ISOLATE_NAME) != nullptr) {
|
||||
Dart_SetShouldPauseOnStart(false);
|
||||
Dart_SetShouldPauseOnExit(false);
|
||||
|
|
Loading…
Reference in a new issue