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

Unified Diff: bin/run_vm_tests.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
« no previous file with comments | « bin/main.cc ('k') | include/dart_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bin/run_vm_tests.cc
===================================================================
--- bin/run_vm_tests.cc (revision 1955)
+++ bin/run_vm_tests.cc (working copy)
@@ -44,12 +44,6 @@
}
-static void* TestIsolateInitCallback(void* data) {
- ASSERT(data == NULL);
- return reinterpret_cast<void*>(0);
-}
-
-
static int Main(int argc, const char** argv) {
// Flags being passed to the Dart VM.
int dart_argc = 0;
@@ -77,8 +71,7 @@
dart_argc = argc - 2;
dart_argv = &argv[2];
}
- bool init_success = Dart::InitOnce(dart_argc, dart_argv,
- TestIsolateInitCallback);
+ bool init_success = Dart::InitOnce(dart_argc, dart_argv, NULL);
ASSERT(init_success);
// Apply the test filter to all registered tests.
TestCaseBase::RunAll();
« no previous file with comments | « bin/main.cc ('k') | include/dart_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698