Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index ca6acf52fd15bc831ee902ce207752a6780e169c..76d8351db1b9225e2486662673023f78cb1c2183 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -5490,6 +5490,8 @@ class SharedFunctionInfo: public HeapObject { |
static bool CompileLazy(Handle<SharedFunctionInfo> shared, |
ClearExceptionFlag flag); |
+ void SharedFunctionInfoIterateBody(ObjectVisitor* v); |
+ |
// Casting. |
static inline SharedFunctionInfo* cast(Object* obj); |
@@ -8538,6 +8540,8 @@ class ObjectVisitor BASE_EMBEDDED { |
// Visit pointer embedded into a code object. |
virtual void VisitEmbeddedPointer(RelocInfo* rinfo); |
+ virtual void VisitSharedFunctionInfo(SharedFunctionInfo* shared) {} |
+ |
// 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. |