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

Unified Diff: runtime/vm/thread.cc

Issue 2759533002: Remove legacy restart code (Closed)
Patch Set: Created 3 years, 9 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
« runtime/bin/main.cc ('K') | « runtime/vm/thread.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/thread.cc
diff --git a/runtime/vm/thread.cc b/runtime/vm/thread.cc
index 31ecabe5b28aeaab032185f2bb54c1a75ee6cbef..cbcaef254185ac0fdd983049bb97473accca1580 100644
--- a/runtime/vm/thread.cc
+++ b/runtime/vm/thread.cc
@@ -274,6 +274,13 @@ void Thread::clear_sticky_error() {
}
+RawError* Thread::get_and_clear_sticky_error() {
siva 2017/03/16 23:02:30 NoSafepointScope here as a raw pointer is being he
Cutch 2017/03/20 17:45:26 Done.
+ RawError* return_value = sticky_error_;
+ sticky_error_ = Error::null();
+ return return_value;
+}
+
+
const char* Thread::TaskKindToCString(TaskKind kind) {
switch (kind) {
case kUnknownTask:
« runtime/bin/main.cc ('K') | « runtime/vm/thread.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698