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

Unified Diff: runtime/vm/isolate.h

Issue 1244733002: - Implement VM parts of https://codereview.chromium.org/1240743003/ (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Update isolate.status file as expected. Created 5 years, 5 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/bootstrap_natives.h ('k') | runtime/vm/isolate.cc » ('j') | 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 88c789d35daa4a8208644eb0329c06c6334469a2..a7aa4fcd78966f34eb4de1aa4f32b5a10398d689 100644
--- a/runtime/vm/isolate.h
+++ b/runtime/vm/isolate.h
@@ -1013,19 +1013,27 @@ class IsolateSpawnState {
IsolateSpawnState(Dart_Port parent_port,
const Function& func,
const Instance& message,
- bool paused);
+ bool paused,
+ bool errorsAreFatal,
+ Dart_Port onExit,
+ Dart_Port onError);
IsolateSpawnState(Dart_Port parent_port,
const char* script_url,
const char* package_root,
const Instance& args,
const Instance& message,
- bool paused);
+ bool paused,
+ bool errorsAreFatal,
+ Dart_Port onExit,
+ Dart_Port onError);
~IsolateSpawnState();
Isolate* isolate() const { return isolate_; }
void set_isolate(Isolate* value) { isolate_ = value; }
Dart_Port parent_port() const { return parent_port_; }
+ Dart_Port on_exit_port() const { return on_exit_port_; }
+ Dart_Port on_error_port() const { return on_error_port_; }
char* script_url() const { return script_url_; }
char* package_root() const { return package_root_; }
char* library_url() const { return library_url_; }
@@ -1033,6 +1041,7 @@ class IsolateSpawnState {
char* function_name() const { return function_name_; }
bool is_spawn_uri() const { return library_url_ == NULL; }
bool paused() const { return paused_; }
+ bool errors_are_fatal() const { return errors_are_fatal_; }
Isolate::Flags* isolate_flags() { return &isolate_flags_; }
RawObject* ResolveFunction();
@@ -1043,6 +1052,8 @@ class IsolateSpawnState {
private:
Isolate* isolate_;
Dart_Port parent_port_;
+ Dart_Port on_exit_port_;
+ Dart_Port on_error_port_;
char* script_url_;
char* package_root_;
char* library_url_;
@@ -1054,6 +1065,7 @@ class IsolateSpawnState {
intptr_t serialized_message_len_;
Isolate::Flags isolate_flags_;
bool paused_;
+ bool errors_are_fatal_;
};
} // namespace dart
« no previous file with comments | « runtime/vm/bootstrap_natives.h ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698