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

Unified Diff: vm/snapshot_test.cc

Issue 8673002: - Refactor the isolate callback mechanism to also include creation of the (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: '' Created 9 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
« vm/isolate_win.cc ('K') | « vm/isolate_win.cc ('k') | vm/unit_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/snapshot_test.cc
===================================================================
--- vm/snapshot_test.cc (revision 1771)
+++ vm/snapshot_test.cc (working copy)
@@ -332,7 +332,7 @@
// Start an Isolate, load a script and create a full snapshot.
Timer timer1(true, "Snapshot_test");
timer1.Start();
- Dart_CreateIsolate(NULL, NULL);
+ Dart_CreateIsolate(NULL);
{
Dart_EnterScope(); // Start a Dart API scope for invoking API functions.
@@ -356,7 +356,7 @@
// from the script.
Timer timer2(true, "Snapshot_test");
timer2.Start();
- Dart_CreateIsolate(buffer, NULL);
+ Dart_CreateIsolate(buffer);
{
Dart_EnterScope(); // Start a Dart API scope for invoking API functions.
timer2.Stop();
@@ -392,7 +392,7 @@
// Start an Isolate, load a script and create a full snapshot.
Timer timer1(true, "Snapshot_test");
timer1.Start();
- Dart_CreateIsolate(NULL, NULL);
+ Dart_CreateIsolate(NULL);
{
Dart_EnterScope(); // Start a Dart API scope for invoking API functions.
Isolate* isolate = Isolate::Current();
@@ -425,7 +425,7 @@
// from the script.
Timer timer2(true, "Snapshot_test");
timer2.Start();
- Dart_CreateIsolate(buffer, NULL);
+ Dart_CreateIsolate(buffer);
{
Dart_EnterScope(); // Start a Dart API scope for invoking API functions.
timer2.Stop();
« vm/isolate_win.cc ('K') | « vm/isolate_win.cc ('k') | vm/unit_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698