Index: runtime/vm/dart_api_impl.cc |
diff --git a/runtime/vm/dart_api_impl.cc b/runtime/vm/dart_api_impl.cc |
index 4c6fd00ed425d83aa61b7559cfa608e2d41e6db4..d1fdb4143ad9fa292431f503233abb4538d83d40 100644 |
--- a/runtime/vm/dart_api_impl.cc |
+++ b/runtime/vm/dart_api_impl.cc |
@@ -1145,7 +1145,7 @@ DART_EXPORT char* Dart_Initialize( |
Dart_FileCloseCallback file_close, |
Dart_EntropySource entropy_source, |
Dart_GetVMServiceAssetsArchive get_service_assets) { |
- if ((instructions_snapshot != NULL) && !FLAG_precompiled_mode) { |
+ if ((instructions_snapshot != NULL) && !FLAG_precompiled_runtime) { |
return strdup("Flag --precompilation was not specified."); |
} |
if (interrupt != NULL) { |