| Index: src/objects.cc
|
| ===================================================================
|
| --- src/objects.cc (revision 10578)
|
| +++ src/objects.cc (working copy)
|
| @@ -8028,6 +8028,18 @@
|
| VisitPointer(rinfo->target_object_address());
|
| }
|
|
|
| +
|
| +#ifdef V8_TARGET_ARCH_ARM
|
| +void ObjectVisitor::VisitEmbeddedMapSignature(RelocInfo* rinfo) {
|
| + ASSERT(rinfo->rmode() == RelocInfo::MAP_SIGNATURE);
|
| + Object* object = rinfo->target_object();
|
| + Object* copy = object;
|
| + VisitPointer(©);
|
| + ASSERT(copy == object);
|
| +}
|
| +#endif
|
| +
|
| +
|
| void ObjectVisitor::VisitExternalReference(RelocInfo* rinfo) {
|
| Address* p = rinfo->target_reference_address();
|
| VisitExternalReferences(p, p + 1);
|
| @@ -8160,6 +8172,9 @@
|
| ASSERT(is_inline_cache_stub());
|
| AssertNoAllocation no_allocation;
|
| int mask = RelocInfo::ModeMask(RelocInfo::EMBEDDED_OBJECT);
|
| +#ifdef V8_TARGET_ARCH_ARM
|
| + mask |= RelocInfo::ModeMask(RelocInfo::MAP_SIGNATURE);
|
| +#endif
|
| for (RelocIterator it(this, mask); !it.done(); it.next()) {
|
| RelocInfo* info = it.rinfo();
|
| Object* object = info->target_object();
|
|
|