Chromium Code Reviews| Index: src/objects.cc |
| diff --git a/src/objects.cc b/src/objects.cc |
| index c2ff64eb920fb079a7a448a7340fc86ccf399eb9..561273230389c5909163fd1fd253f887b7e66490 100644 |
| --- a/src/objects.cc |
| +++ b/src/objects.cc |
| @@ -7371,6 +7371,12 @@ void ObjectVisitor::VisitDebugTarget(RelocInfo* rinfo) { |
| } |
| +void ObjectVisitor::VisitEmbeddedPointer(RelocInfo* rinfo) { |
| + ASSERT(rinfo->rmode() == RelocInfo::EMBEDDED_OBJECT); |
| + VisitPointer(rinfo->target_object_address()); |
| +} |
| + |
| + |
| void Code::InvalidateRelocation() { |
| set_relocation_info(GetHeap()->empty_byte_array()); |
| } |