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

Unified Diff: runtime/bin/main.cc

Issue 10990028: Add code for CPU feature detection and use it to detect SSE3 and SSE 4.1. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: addressed comments Created 8 years, 3 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/bin/gen_snapshot.cc ('k') | runtime/vm/assembler_ia32.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/main.cc
===================================================================
--- runtime/bin/main.cc (revision 12828)
+++ runtime/bin/main.cc (working copy)
@@ -655,9 +655,11 @@
Dart_SetVMFlags(vm_options.count(), vm_options.arguments());
// Initialize the Dart VM.
- Dart_Initialize(CreateIsolateAndSetup,
- NULL,
- ShutdownIsolate);
+ if (!Dart_Initialize(CreateIsolateAndSetup,
+ NULL,
+ ShutdownIsolate)) {
+ return ErrorExit("VM initialization failed\n");
+ }
DartUtils::SetOriginalWorkingDirectory();
« no previous file with comments | « runtime/bin/gen_snapshot.cc ('k') | runtime/vm/assembler_ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698