Index: src/heap/mark-compact.cc |
diff --git a/src/heap/mark-compact.cc b/src/heap/mark-compact.cc |
index 257af3739fa2a090df2793174df55f038fe9494a..13391a8946e9aefba7d7b8462117d5f326a17de2 100644 |
--- a/src/heap/mark-compact.cc |
+++ b/src/heap/mark-compact.cc |
@@ -899,7 +899,7 @@ void CodeFlusher::ProcessJSFunctionCandidates() { |
PrintF(" - age: %d]\n", code->GetAge()); |
} |
// Always flush the optimized code map if requested by flag. |
- if (FLAG_cache_optimized_code && FLAG_flush_optimized_code_cache && |
+ if (FLAG_flush_optimized_code_cache && |
!shared->optimized_code_map()->IsSmi()) { |
shared->ClearOptimizedCodeMap(); |
} |
@@ -947,7 +947,7 @@ void CodeFlusher::ProcessSharedFunctionInfoCandidates() { |
PrintF(" - age: %d]\n", code->GetAge()); |
} |
// Always flush the optimized code map if requested by flag. |
- if (FLAG_cache_optimized_code && FLAG_flush_optimized_code_cache && |
+ if (FLAG_flush_optimized_code_cache && |
!candidate->optimized_code_map()->IsSmi()) { |
candidate->ClearOptimizedCodeMap(); |
} |