| Index: src/heap/objects-visiting-inl.h
|
| diff --git a/src/heap/objects-visiting-inl.h b/src/heap/objects-visiting-inl.h
|
| index 20d3d1070f2681790860cdcb6e7f0c7590988e6f..d86406bf5f77c204957dce60d4125974eff17f0e 100644
|
| --- a/src/heap/objects-visiting-inl.h
|
| +++ b/src/heap/objects-visiting-inl.h
|
| @@ -429,12 +429,6 @@ void StaticMarkingVisitor<StaticVisitor>::VisitSharedFunctionInfo(
|
| if (shared->ic_age() != heap->global_ic_age()) {
|
| shared->ResetForNewContext(heap->global_ic_age());
|
| }
|
| - if (FLAG_flush_optimized_code_cache) {
|
| - if (!shared->OptimizedCodeMapIsCleared()) {
|
| - // Always flush the optimized code map if requested by flag.
|
| - shared->ClearOptimizedCodeMap();
|
| - }
|
| - }
|
| MarkCompactCollector* collector = heap->mark_compact_collector();
|
| if (collector->is_code_flushing_enabled()) {
|
| if (IsFlushable(heap, shared)) {
|
|
|