Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index 520db34160de6efb17e5a3331f319255488038e8..d689e871b7e581a88dcf267f21ac47dea4807680 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -116,7 +116,6 @@ void CompilationInfo::DisableOptimization() { |
bool CompilationInfo::ShouldSelfOptimize() { |
return FLAG_self_optimization && |
FLAG_crankshaft && |
- !Serializer::enabled() && |
!function()->flags()->Contains(kDontSelfOptimize) && |
!function()->flags()->Contains(kDontOptimize) && |
function()->scope()->allows_lazy_recompilation() && |