| Index: src/mark-compact.cc
|
| diff --git a/src/mark-compact.cc b/src/mark-compact.cc
|
| index dde172d2f026ea432b7434916c26d571526e071a..b4f488bd9570e98191da12d61dc9ee25b3dfa084 100644
|
| --- a/src/mark-compact.cc
|
| +++ b/src/mark-compact.cc
|
| @@ -1406,6 +1406,10 @@ class StaticMarkingVisitor : public StaticVisitorBase {
|
|
|
| if (shared->IsInobjectSlackTrackingInProgress()) shared->DetachInitialMap();
|
|
|
| + if (shared->ic_age() != heap->global_ic_age()) {
|
| + shared->ResetForNewContext(heap->global_ic_age());
|
| + }
|
| +
|
| if (!known_flush_code_candidate) {
|
| known_flush_code_candidate = IsFlushable(heap, shared);
|
| if (known_flush_code_candidate) {
|
|
|