| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index e68ac531f7bd320862ce24a89781df567332b7c0..69c6130e5468b0392d3f67d3c9ed0a9301d63c6d 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -6725,6 +6725,12 @@ class ObjectVisitor BASE_EMBEDDED {
|
| // Handy shorthand for visiting a single pointer.
|
| virtual void VisitPointer(Object** p) { VisitPointers(p, p + 1); }
|
|
|
| + // Variant of VisitPointer() can be defined in visitors where
|
| + // reloc info is needed (initially defined for mips).
|
| + virtual void VisitPointer(Object** p, RelocInfo* rinfo) {
|
| + VisitPointers(p, p + 1);
|
| + }
|
| +
|
| // Visits a contiguous arrays of external references (references to the C++
|
| // heap) in the half-open range [start, end). Any or all of the values
|
| // may be modified on return.
|
|
|