v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::HeapObjectRange::iterator Class Referencefinal

#include <paged-spaces.h>

Collaboration diagram for v8::internal::HeapObjectRange::iterator:

Public Types

using value_type = Tagged<HeapObject>
 
using pointer = const value_type*
 
using reference = const value_type&
 
using iterator_category = std::forward_iterator_tag
 

Public Member Functions

 iterator ()
 
 iterator (const PageMetadata *page)
 
iteratoroperator++ ()
 
iterator operator++ (int)
 
bool operator== (iterator other) const
 
bool operator!= (iterator other) const
 
value_type operator* ()
 

Private Member Functions

void AdvanceToNextObject ()
 
PtrComprCageBase cage_base () const
 

Private Attributes

PtrComprCageBase cage_base_
 
Address cur_addr_ = kNullAddress
 
int cur_size_ = 0
 
Address cur_end_ = kNullAddress
 

Detailed Description

Definition at line 41 of file paged-spaces.h.

Member Typedef Documentation

◆ iterator_category

Definition at line 46 of file paged-spaces.h.

◆ pointer

◆ reference

◆ value_type

Constructor & Destructor Documentation

◆ iterator() [1/2]

v8::internal::HeapObjectRange::iterator::iterator ( )
inline

Definition at line 20 of file paged-spaces-inl.h.

◆ iterator() [2/2]

v8::internal::HeapObjectRange::iterator::iterator ( const PageMetadata * page)
inlineexplicit

Definition at line 22 of file paged-spaces-inl.h.

Here is the call graph for this function:

Member Function Documentation

◆ AdvanceToNextObject()

void v8::internal::HeapObjectRange::iterator::AdvanceToNextObject ( )
inlineprivate

Definition at line 42 of file paged-spaces-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ cage_base()

PtrComprCageBase v8::internal::HeapObjectRange::iterator::cage_base ( ) const
inlineprivate

Definition at line 64 of file paged-spaces.h.

◆ operator!=()

bool v8::internal::HeapObjectRange::iterator::operator!= ( iterator other) const
inline

Definition at line 57 of file paged-spaces.h.

◆ operator*()

value_type v8::internal::HeapObjectRange::iterator::operator* ( )
inline

Definition at line 59 of file paged-spaces.h.

Here is the call graph for this function:

◆ operator++() [1/2]

HeapObjectRange::iterator & v8::internal::HeapObjectRange::iterator::operator++ ( )
inline

Definition at line 29 of file paged-spaces-inl.h.

◆ operator++() [2/2]

HeapObjectRange::iterator v8::internal::HeapObjectRange::iterator::operator++ ( int )
inline

Definition at line 36 of file paged-spaces-inl.h.

◆ operator==()

bool v8::internal::HeapObjectRange::iterator::operator== ( iterator other) const
inline

Definition at line 54 of file paged-spaces.h.

Member Data Documentation

◆ cage_base_

PtrComprCageBase v8::internal::HeapObjectRange::iterator::cage_base_
private

Definition at line 66 of file paged-spaces.h.

◆ cur_addr_

Address v8::internal::HeapObjectRange::iterator::cur_addr_ = kNullAddress
private

Definition at line 67 of file paged-spaces.h.

◆ cur_end_

Address v8::internal::HeapObjectRange::iterator::cur_end_ = kNullAddress
private

Definition at line 69 of file paged-spaces.h.

◆ cur_size_

int v8::internal::HeapObjectRange::iterator::cur_size_ = 0
private

Definition at line 68 of file paged-spaces.h.


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