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

Unified Diff: runtime/vm/isolate.cc

Issue 1447353002: Start isolates in a separate thread. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: reupload Created 5 years, 1 month 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.h ('k') | runtime/vm/isolate_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/isolate.cc
diff --git a/runtime/vm/isolate.cc b/runtime/vm/isolate.cc
index 2ff605fe1a9ca736bb0997f20626a039a28286e0..6d201578f04cc8f730de93eb0c714d9937e34e97 100644
--- a/runtime/vm/isolate.cc
+++ b/runtime/vm/isolate.cc
@@ -2407,6 +2407,8 @@ static const char* NewConstChar(const char* chars) {
IsolateSpawnState::IsolateSpawnState(Dart_Port parent_port,
+ Dart_Port origin_id,
+ void* init_data,
const Function& func,
const Instance& message,
bool paused,
@@ -2415,6 +2417,8 @@ IsolateSpawnState::IsolateSpawnState(Dart_Port parent_port,
Dart_Port on_error_port)
: isolate_(NULL),
parent_port_(parent_port),
+ origin_id_(origin_id),
+ init_data_(init_data),
on_exit_port_(on_exit_port),
on_error_port_(on_error_port),
script_url_(NULL),
@@ -2452,6 +2456,7 @@ IsolateSpawnState::IsolateSpawnState(Dart_Port parent_port,
IsolateSpawnState::IsolateSpawnState(Dart_Port parent_port,
+ void* init_data,
const char* script_url,
const char* package_root,
const char** package_map,
@@ -2463,6 +2468,8 @@ IsolateSpawnState::IsolateSpawnState(Dart_Port parent_port,
Dart_Port on_error_port)
: isolate_(NULL),
parent_port_(parent_port),
+ origin_id_(ILLEGAL_PORT),
+ init_data_(init_data),
on_exit_port_(on_exit_port),
on_error_port_(on_error_port),
script_url_(script_url),
« no previous file with comments | « runtime/vm/isolate.h ('k') | runtime/vm/isolate_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698