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

Unified Diff: runtime/vm/isolate.h

Issue 1408183004: Minor cleanup as saved_isolate_ should always be NULL in this case per the ASSERT in the constructo… (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/isolate.h
diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h
index 908e64171e16736a7d3ffc659865359589f4cf6c..fab7049dd5b798b1ddf05c1491160a106603efd1 100644
--- a/runtime/vm/isolate.h
+++ b/runtime/vm/isolate.h
@@ -912,9 +912,7 @@ class StartIsolateScope {
if (saved_isolate_ != new_isolate_) {
new_isolate_->ClearStackLimit();
Thread::ExitIsolate();
- if (saved_isolate_ != NULL) {
- Thread::EnterIsolate(saved_isolate_);
- }
+ ASSERT(saved_isolate_ == NULL);
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698