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

Unified Diff: runtime/vm/isolate_reload.cc

Issue 2049833002: Enable on stack reload in standalone embedder (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/isolate.cc ('k') | runtime/vm/object_reload.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/isolate_reload.cc
diff --git a/runtime/vm/isolate_reload.cc b/runtime/vm/isolate_reload.cc
index 5913789c15a8b82fb07f2b77579dce64800578e2..cd2935747508072fc21d58510de592fc8f601cb4 100644
--- a/runtime/vm/isolate_reload.cc
+++ b/runtime/vm/isolate_reload.cc
@@ -257,9 +257,6 @@ void IsolateReloadContext::StartReload() {
DeoptimizeDependentCode();
Checkpoint();
- // Block class finalization attempts when calling into the library
- // tag handler.
- I->BlockClassFinalization();
Object& result = Object::Handle(thread->zone());
{
TransitionVMToNative transition(thread);
@@ -267,11 +264,10 @@ void IsolateReloadContext::StartReload() {
Dart_Handle retval =
(I->library_tag_handler())(Dart_kScriptTag,
- Api::NewHandle(thread, Library::null()),
- Api::NewHandle(thread, root_lib_url.raw()));
+ Api::NewHandle(thread, Library::null()),
+ Api::NewHandle(thread, root_lib_url.raw()));
result = Api::UnwrapHandle(retval);
}
- I->UnblockClassFinalization();
if (result.IsError()) {
ReportError(Error::Cast(result));
}
« no previous file with comments | « runtime/vm/isolate.cc ('k') | runtime/vm/object_reload.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698