| Index: src/objects-inl.h
|
| diff --git a/src/objects-inl.h b/src/objects-inl.h
|
| index b25af33c77a59d14f2d92a40b422297242c9cc90..2d265ec214ad2553e49bb4a8d2317cfa65d98474 100644
|
| --- a/src/objects-inl.h
|
| +++ b/src/objects-inl.h
|
| @@ -4279,11 +4279,10 @@ BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_cache, kDontCache)
|
|
|
| void SharedFunctionInfo::BeforeVisitingPointers() {
|
| if (IsInobjectSlackTrackingInProgress()) DetachInitialMap();
|
| +}
|
| +
|
|
|
| - // Flush optimized code map on major GC.
|
| - // Note: we may experiment with rebuilding it or retaining entries
|
| - // which should survive as we iterate through optimized functions
|
| - // anyway.
|
| +void SharedFunctionInfo::ClearOptimizedCodeMap() {
|
| set_optimized_code_map(Smi::FromInt(0));
|
| }
|
|
|
|
|