Skip to content

Commit

Permalink
Revert "Fix Dart 2 reload when running from a snapshot instead of pla…
Browse files Browse the repository at this point in the history
…tform.dill. (flutter#5792)" (flutter#5795)

This reverts commit 624cf7e.
  • Loading branch information
rmacnak-google authored Jul 18, 2018
1 parent 624cf7e commit e8d172c
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions runtime/dart_isolate.cc
Original file line number Diff line number Diff line change
Expand Up @@ -720,16 +720,6 @@ DartIsolate::CreateDartVMAndEmbedderObjectPair(
);
}

// TODO(rmacnak): This flag setting business preserves a side effect of using
// Dart_CreateIsolateFromKernel. It should be removed when some of the
// internal logic in reload no longer uses this flag.
Dart_IsolateFlags nonnull_flags;
if (flags == nullptr) {
Dart_IsolateFlagsInitialize(&nonnull_flags);
flags = &nonnull_flags;
}
flags->use_dart_frontend = true;

// Create the Dart VM isolate and give it the embedder object as the baton.
Dart_Isolate isolate =
(vm->GetPlatformKernel().GetSize() > 0)
Expand Down

0 comments on commit e8d172c

Please sign in to comment.