Index: src/heap.cc |
diff --git a/src/heap.cc b/src/heap.cc |
index 8487857923d9fb0fc17f1fd7ab7fc91cc96bb446..0a9610b6df6cb60cc97b71341183fdedb1a422e8 100644 |
--- a/src/heap.cc |
+++ b/src/heap.cc |
@@ -6115,12 +6115,12 @@ void Heap::Print() { |
void Heap::ReportCodeStatistics(const char* title) { |
PrintF(">>>>>> Code Stats (%s) >>>>>>\n", title); |
- PagedSpace::ResetCodeStatistics(); |
+ PagedSpace::ResetCodeStatistics(isolate()); |
// We do not look for code in new space, map space, or old space. If code |
// somehow ends up in those spaces, we would miss it here. |
code_space_->CollectCodeStatistics(); |
lo_space_->CollectCodeStatistics(); |
- PagedSpace::ReportCodeStatistics(); |
+ PagedSpace::ReportCodeStatistics(isolate()); |
} |
@@ -6635,7 +6635,7 @@ void Heap::IterateStrongRoots(ObjectVisitor* v, VisitMode mode) { |
// serialization this does nothing, since the partial snapshot cache is |
// empty. However the next thing we do is create the partial snapshot, |
// filling up the partial snapshot cache with objects it needs as we go. |
- SerializerDeserializer::Iterate(v); |
+ SerializerDeserializer::Iterate(isolate_, v); |
// We don't do a v->Synchronize call here, because in debug mode that will |
// output a flag to the snapshot. However at this point the serializer and |
// deserializer are deliberately a little unsynchronized (see above) so the |