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

Unified Diff: runtime/lib/isolate.cc

Issue 145323002: Post-meetup feature extravaganza. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 11 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/include/dart_debugger_api.h ('k') | runtime/vm/dart_api_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/isolate.cc
===================================================================
--- runtime/lib/isolate.cc (revision 32126)
+++ runtime/lib/isolate.cc (working copy)
@@ -21,21 +21,6 @@
namespace dart {
-class IsolateStartData {
- public:
- IsolateStartData(char* library_url,
- char* class_name,
- intptr_t port_id)
- : library_url_(library_url),
- class_name_(class_name),
- port_id_(port_id) {}
-
- char* library_url_;
- char* class_name_;
- intptr_t port_id_;
-};
-
-
static uint8_t* allocator(uint8_t* ptr, intptr_t old_size, intptr_t new_size) {
void* new_ptr = realloc(reinterpret_cast<void*>(ptr), new_size);
return reinterpret_cast<uint8_t*>(new_ptr);
@@ -204,7 +189,7 @@
// Start the new isolate if it is already marked as runnable.
MutexLocker ml(state->isolate()->mutex());
- state->isolate()->set_spawn_data(reinterpret_cast<uword>(state));
+ state->isolate()->set_spawn_state(state);
if (state->isolate()->is_runnable()) {
state->isolate()->Run();
}
« no previous file with comments | « runtime/include/dart_debugger_api.h ('k') | runtime/vm/dart_api_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698