Chromium Code Reviews| Index: src/objects.h |
| diff --git a/src/objects.h b/src/objects.h |
| index 2bf99f313975da3bbf36ed8c8518721fae414c44..95607e7c4a861e937ab3bd654f5269d7f17913a9 100644 |
| --- a/src/objects.h |
| +++ b/src/objects.h |
| @@ -7502,6 +7502,10 @@ class ObjectVisitor BASE_EMBEDDED { |
| // Handy shorthand for visiting a single pointer. |
| virtual void VisitPointer(Object** p) { VisitPointers(p, p + 1); } |
| + virtual void VisitEmbeddedPointer(Code* host, Object** p) { |
| + VisitPointer(p); |
|
Erik Corry
2011/09/28 14:57:12
Comment?
|
| + } |
| + |
| // 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. |