Index: src/flag-definitions.h |
diff --git a/src/flag-definitions.h b/src/flag-definitions.h |
index aa889f3fd905aa5838a47936ebc1fad4ac272676..33d7ebb89e8a9176ce3d37526ea4deeae21d443b 100644 |
--- a/src/flag-definitions.h |
+++ b/src/flag-definitions.h |
@@ -696,8 +696,10 @@ DEFINE_bool(stress_compaction, false, |
#endif |
// checks.cc |
+#ifndef OPTIMIZED_DEBUG |
DEFINE_bool(enable_slow_asserts, false, |
"enable asserts that are slow to execute") |
+#endif |
// codegen-ia32.cc / codegen-arm.cc / macro-assembler-*.cc |
DEFINE_bool(print_source, false, "pretty print source code") |