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

Unified Diff: runtime/vm/dart.cc

Issue 8713012: Introduce Dart_SetVMFlags API function. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
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
Index: runtime/vm/dart.cc
===================================================================
--- runtime/vm/dart.cc (revision 1859)
+++ runtime/vm/dart.cc (working copy)
@@ -23,14 +23,12 @@
Isolate* Dart::vm_isolate_ = NULL;
DebugInfo* Dart::pprof_symbol_generator_ = NULL;
-bool Dart::InitOnce(int argc, const char** argv,
- Dart_IsolateInitCallback callback) {
+bool Dart::InitOnce(Dart_IsolateInitCallback callback) {
// TODO(iposva): Fix race condition here.
if (vm_isolate_ != NULL) {
return false;
}
OS::InitOnce();
- Flags::ProcessCommandLineFlags(argc, argv);
VirtualMemory::InitOnce();
Isolate::InitOnce();
// Create the VM isolate and finish the VM initialization.
« no previous file with comments | « runtime/vm/dart.h ('k') | runtime/vm/dart_api_impl.cc » ('j') | runtime/vm/dart_api_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698