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

Unified Diff: runtime/vm/object.h

Issue 1361213003: Distinguish internal kill messages from user-initiated kill messages. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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
Index: runtime/vm/object.h
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index 1b398ddc6faebb9cbb6cfd7171c06da2590a5e2f..7673cc99a355f3bee891e57bd1bac99551fc71b2 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -4796,6 +4796,9 @@ class UnhandledException : public Error {
class UnwindError : public Error {
public:
+ bool is_user_initiated() const { return raw_ptr()->is_user_initiated_; }
+ void set_is_user_initiated(bool value) const;
+
RawString* message() const { return raw_ptr()->message_; }
static intptr_t InstanceSize() {
« no previous file with comments | « runtime/vm/isolate.cc ('k') | runtime/vm/object.cc » ('j') | runtime/vm/raw_object.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698