Index: src/compiler.h |
diff --git a/src/compiler.h b/src/compiler.h |
index 6a24fe2e0dc693e495749560d49ea6ddc686bd5b..9d612348a08200f1cb7f9f66f0331cb8628c4d9e 100644 |
--- a/src/compiler.h |
+++ b/src/compiler.h |
@@ -319,8 +319,8 @@ class CompilationInfo { |
// Generate a pre-aged prologue if we are optimizing for size, which |
// will make code flushing more aggressive. Only apply to Code::FUNCTION, |
// since StaticMarkingVisitor::IsFlushable only flushes proper functions. |
- return FLAG_optimize_for_size && FLAG_age_code && !will_serialize() && |
- !is_debug() && output_code_kind() == Code::FUNCTION; |
+ return FLAG_optimize_for_size && FLAG_age_code && !is_debug() && |
+ output_code_kind() == Code::FUNCTION; |
} |
void EnsureFeedbackVector(); |