Index: runtime/vm/object.cc |
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc |
index 57372ea17018be2dcbda507b92a8945e1247c828..8ac673219da4be8431bb86629bbf539810c54538 100644 |
--- a/runtime/vm/object.cc |
+++ b/runtime/vm/object.cc |
@@ -60,7 +60,6 @@ DEFINE_FLAG(bool, use_lib_cache, true, "Use library name cache"); |
DEFINE_FLAG(bool, ignore_patch_signature_mismatch, false, |
"Ignore patch file member signature mismatch."); |
-DECLARE_FLAG(charp, coverage_dir); |
DECLARE_FLAG(bool, show_invisible_frames); |
DECLARE_FLAG(bool, trace_deoptimization); |
DECLARE_FLAG(bool, trace_deoptimization_verbose); |
@@ -5797,10 +5796,6 @@ void Function::SetNumOptionalParameters(intptr_t num_optional_parameters, |
bool Function::IsOptimizable() const { |
- if (FLAG_coverage_dir != NULL) { |
- // Do not optimize if collecting coverage data. |
- return false; |
- } |
if (is_native()) { |
// Native methods don't need to be optimized. |
return false; |