V8 Project
v8::internal::VerifyPointersVisitor Class Reference

#include <heap.h>

+ Inheritance diagram for v8::internal::VerifyPointersVisitor:
+ Collaboration diagram for v8::internal::VerifyPointersVisitor:

Public Member Functions

void VisitPointers (Object **start, Object **end)
 

Detailed Description

Definition at line 2115 of file heap.h.

Member Function Documentation

◆ VisitPointers()

void v8::internal::VerifyPointersVisitor::VisitPointers ( Object **  start,
Object **  end 
)
inline

Definition at line 761 of file heap-inl.h.

761  {
762  for (Object** current = start; current < end; current++) {
763  if ((*current)->IsHeapObject()) {
764  HeapObject* object = HeapObject::cast(*current);
765  CHECK(object->GetIsolate()->heap()->Contains(object));
766  CHECK(object->map()->IsMap());
767  }
768  }
769 }
#define CHECK(condition)
Definition: logging.h:36
kSerializedDataOffset Object
Definition: objects-inl.h:5322

References CHECK, v8::internal::Heap::Contains(), v8::internal::HeapObject::GetIsolate(), v8::internal::Isolate::heap(), and v8::internal::HeapObject::map().

+ Here is the call graph for this function:

The documentation for this class was generated from the following files: