Index: runtime/vm/dart.cc |
diff --git a/runtime/vm/dart.cc b/runtime/vm/dart.cc |
index 33ca87bf6baab486d5b9ce714e7088bc5030b332..673cdaf9633b3058033f908e7f0ff8b6894b5810 100644 |
--- a/runtime/vm/dart.cc |
+++ b/runtime/vm/dart.cc |
@@ -208,9 +208,6 @@ char* Dart::InitOnce(const uint8_t* vm_isolate_snapshot, |
if (vm_snapshot_kind_ == Snapshot::kFullAOT) { |
#if defined(DART_PRECOMPILED_RUNTIME) |
vm_isolate_->set_compilation_allowed(false); |
- if (!FLAG_precompiled_runtime) { |
- return strdup("Flag --precompilation was not specified"); |
- } |
#else |
return strdup("JIT runtime cannot run a precompiled snapshot"); |
#endif |