Chromium Code Reviews| Index: src/incremental-marking.cc |
| diff --git a/src/incremental-marking.cc b/src/incremental-marking.cc |
| index f3255e21ebf75022ce40b774f9cc5578fc0e2adf..898894247a5f82ceffe1aee68a3416b3983d9d9a 100644 |
| --- a/src/incremental-marking.cc |
| +++ b/src/incremental-marking.cc |
| @@ -205,6 +205,13 @@ class IncrementalMarkingMarkingVisitor : public ObjectVisitor { |
| MarkObject(target); |
| } |
| + void VisitSharedFunctionInfo(SharedFunctionInfo* shared) { |
| + if (shared->ic_age() != heap_->global_ic_age()) { |
| + shared->ResetForNewContext(heap_->global_ic_age()); |
| + } |
| + ObjectVisitor::VisitSharedFunctionInfo(shared); |
|
Michael Starzinger
2012/04/03 16:38:13
You don't need that call anymore.
|
| + } |
| + |
| void VisitPointer(Object** p) { |
| Object* obj = *p; |
| if (obj->NonFailureIsHeapObject()) { |