Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
dart::ExclusiveCodePageIterator Class Reference
Inheritance diagram for dart::ExclusiveCodePageIterator:
dart::ValueObject

Public Member Functions

 ExclusiveCodePageIterator (const PageSpace *space)
 
Pagepage () const
 
bool Done () const
 
void Advance ()
 

Detailed Description

Definition at line 550 of file pages.cc.

Constructor & Destructor Documentation

◆ ExclusiveCodePageIterator()

dart::ExclusiveCodePageIterator::ExclusiveCodePageIterator ( const PageSpace space)
inlineexplicit

Definition at line 552 of file pages.cc.

553 : space_(space), ml_(&space->pages_lock_) {
554 space_->MakeIterable();
555 page_ = space_->exec_pages_;
556 }

Member Function Documentation

◆ Advance()

void dart::ExclusiveCodePageIterator::Advance ( )
inline

Definition at line 559 of file pages.cc.

559 {
560 ASSERT(!Done());
561 page_ = page_->next();
562 }
Page * next() const
Definition: page.h:102
#define ASSERT(E)

◆ Done()

bool dart::ExclusiveCodePageIterator::Done ( ) const
inline

Definition at line 558 of file pages.cc.

558{ return page_ == nullptr; }

◆ page()

Page * dart::ExclusiveCodePageIterator::page ( ) const
inline

Definition at line 557 of file pages.cc.

557{ return page_; }

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