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

Unified Diff: runtime/vm/longjump.cc

Issue 1672853002: Move sticky_error_ from isolate to thread (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Comments addressed Created 4 years, 10 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/message_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/longjump.cc
diff --git a/runtime/vm/longjump.cc b/runtime/vm/longjump.cc
index 5820a472ea54299a8ff17f95ab9db0d71dcf2eb4..ef141c9b220c07d42e43f43e75d20fa5d51d278f 100644
--- a/runtime/vm/longjump.cc
+++ b/runtime/vm/longjump.cc
@@ -49,7 +49,6 @@ void LongJumpScope::Jump(int value, const Error& error) {
ASSERT(IsSafeToJump());
Thread* thread = Thread::Current();
- Isolate* isolate = thread->isolate();
#if defined(DEBUG)
#define CHECK_REUSABLE_HANDLE(name) \
@@ -59,7 +58,7 @@ REUSABLE_HANDLE_LIST(CHECK_REUSABLE_HANDLE)
#endif // defined(DEBUG)
// Remember the error in the sticky error of this isolate.
- isolate->object_store()->set_sticky_error(error);
+ thread->set_sticky_error(error);
// Destruct all the active StackResource objects.
StackResource::UnwindAbove(thread, top_);
« no previous file with comments | « runtime/vm/isolate.cc ('k') | runtime/vm/message_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698