Chromium Code Reviews| Index: src/heap/heap.cc |
| diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
| index 8c507d48978bf5aebd6a11eb4e5ebc1e81e3b3b3..4470594f0c8e9fad35ab3a15fc629218c1217913 100644 |
| --- a/src/heap/heap.cc |
| +++ b/src/heap/heap.cc |
| @@ -5125,6 +5125,11 @@ void Heap::Verify() { |
| code_space_->Verify(&no_dirty_regions_visitor); |
| lo_space_->Verify(); |
| + |
| + mark_compact_collector_.VerifyWeakEmbeddedObjectsInCode(); |
| + if (FLAG_omit_map_checks_for_leaf_maps) { |
| + mark_compact_collector_.VerifyOmittedMapChecks(); |
| + } |
| } |
| #endif |