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

Unified Diff: runtime/vm/message_handler.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/longjump.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/message_handler.cc
diff --git a/runtime/vm/message_handler.cc b/runtime/vm/message_handler.cc
index 2340b65d766794da64779349e0449d8ab03a63a5..e64a05a105aa794d82d836299abacd1f51f93fcf 100644
--- a/runtime/vm/message_handler.cc
+++ b/runtime/vm/message_handler.cc
@@ -382,8 +382,7 @@ void MessageHandler::TaskCallback() {
}
if (FLAG_trace_isolates) {
if (status != kOK && isolate() != NULL) {
- const Error& error =
- Error::Handle(isolate()->object_store()->sticky_error());
+ const Error& error = Error::Handle(thread()->sticky_error());
OS::Print("[-] Stopping message handler (%s):\n"
"\thandler: %s\n"
"\terror: %s\n",
« no previous file with comments | « runtime/vm/longjump.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698