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

#include <feedback-vector.h>

Collaboration diagram for v8::internal::FeedbackIterator:

Public Member Functions

 FeedbackIterator (const FeedbackNexus *nexus)
 
void Advance ()
 
bool done ()
 
Tagged< Mapmap ()
 
Tagged< MaybeObjecthandler ()
 

Static Public Member Functions

static int SizeFor (int number_of_entries)
 
static int MapIndexForEntry (int entry)
 
static int HandlerIndexForEntry (int entry)
 

Static Public Attributes

static constexpr int kEntrySize = 2
 
static constexpr int kHandlerOffset = 1
 

Private Types

enum  State { kMonomorphic , kPolymorphic , kOther }
 

Private Member Functions

void AdvancePolymorphic ()
 

Private Attributes

DirectHandle< WeakFixedArraypolymorphic_feedback_
 
Tagged< Mapmap_
 
Tagged< MaybeObjecthandler_
 
bool done_
 
int index_
 
State state_
 

Detailed Description

Definition at line 1101 of file feedback-vector.h.

Member Enumeration Documentation

◆ State

Enumerator
kMonomorphic 
kPolymorphic 
kOther 

Definition at line 1129 of file feedback-vector.h.

Constructor & Destructor Documentation

◆ FeedbackIterator()

v8::internal::FeedbackIterator::FeedbackIterator ( const FeedbackNexus * nexus)
explicit

Definition at line 1405 of file feedback-vector.cc.

Here is the call graph for this function:

Member Function Documentation

◆ Advance()

void v8::internal::FeedbackIterator::Advance ( )

Definition at line 1445 of file feedback-vector.cc.

Here is the call graph for this function:

◆ AdvancePolymorphic()

void v8::internal::FeedbackIterator::AdvancePolymorphic ( )
private

Definition at line 1457 of file feedback-vector.cc.

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

◆ done()

bool v8::internal::FeedbackIterator::done ( )
inline

Definition at line 1105 of file feedback-vector.h.

Here is the caller graph for this function:

◆ handler()

Tagged< MaybeObject > v8::internal::FeedbackIterator::handler ( )
inline

Definition at line 1107 of file feedback-vector.h.

Here is the caller graph for this function:

◆ HandlerIndexForEntry()

static int v8::internal::FeedbackIterator::HandlerIndexForEntry ( int entry)
inlinestatic

Definition at line 1119 of file feedback-vector.h.

◆ map()

Tagged< Map > v8::internal::FeedbackIterator::map ( )
inline

Definition at line 1106 of file feedback-vector.h.

◆ MapIndexForEntry()

static int v8::internal::FeedbackIterator::MapIndexForEntry ( int entry)
inlinestatic

Definition at line 1114 of file feedback-vector.h.

◆ SizeFor()

static int v8::internal::FeedbackIterator::SizeFor ( int number_of_entries)
inlinestatic

Definition at line 1109 of file feedback-vector.h.

Member Data Documentation

◆ done_

bool v8::internal::FeedbackIterator::done_
private

Definition at line 1134 of file feedback-vector.h.

◆ handler_

Tagged<MaybeObject> v8::internal::FeedbackIterator::handler_
private

Definition at line 1133 of file feedback-vector.h.

◆ index_

int v8::internal::FeedbackIterator::index_
private

Definition at line 1135 of file feedback-vector.h.

◆ kEntrySize

int v8::internal::FeedbackIterator::kEntrySize = 2
staticconstexpr

Definition at line 1124 of file feedback-vector.h.

◆ kHandlerOffset

int v8::internal::FeedbackIterator::kHandlerOffset = 1
staticconstexpr

Definition at line 1125 of file feedback-vector.h.

◆ map_

Tagged<Map> v8::internal::FeedbackIterator::map_
private

Definition at line 1132 of file feedback-vector.h.

◆ polymorphic_feedback_

DirectHandle<WeakFixedArray> v8::internal::FeedbackIterator::polymorphic_feedback_
private

Definition at line 1131 of file feedback-vector.h.

◆ state_

State v8::internal::FeedbackIterator::state_
private

Definition at line 1136 of file feedback-vector.h.


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