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

#include <wasm-module.h>

Collaboration diagram for v8::internal::wasm::CallSiteFeedback:

Classes

struct  PolymorphicCase
 

Public Member Functions

 CallSiteFeedback ()
 
 CallSiteFeedback (int function_index, int call_count)
 
 CallSiteFeedback (PolymorphicCase *polymorphic_cases, int num_cases)
 
 CallSiteFeedback (const CallSiteFeedback &other) V8_NOEXCEPT
 
 CallSiteFeedback (CallSiteFeedback &&other) V8_NOEXCEPT
 
CallSiteFeedbackoperator= (const CallSiteFeedback &other) V8_NOEXCEPT
 
CallSiteFeedbackoperator= (CallSiteFeedback &&other) V8_NOEXCEPT
 
 ~CallSiteFeedback ()
 
int num_cases () const
 
int function_index (int i) const
 
int call_count (int i) const
 
bool has_non_inlineable_targets () const
 
void set_has_non_inlineable_targets (bool has_non_inlineable_targets)
 
bool is_megamorphic () const
 

Static Public Member Functions

static CallSiteFeedback CreateMegamorphic ()
 

Private Member Functions

bool is_monomorphic () const
 
bool is_polymorphic () const
 
bool is_invalid () const
 
const PolymorphicCasepolymorphic_storage () const
 

Private Attributes

int index_or_count_
 
bool has_non_inlineable_targets_ = false
 
bool is_megamorphic_ = false
 
intptr_t frequency_or_ool_
 

Detailed Description

Definition at line 531 of file wasm-module.h.

Constructor & Destructor Documentation

◆ CallSiteFeedback() [1/5]

v8::internal::wasm::CallSiteFeedback::CallSiteFeedback ( )
inline

Definition at line 550 of file wasm-module.h.

◆ CallSiteFeedback() [2/5]

v8::internal::wasm::CallSiteFeedback::CallSiteFeedback ( int function_index,
int call_count )
inline

Definition at line 551 of file wasm-module.h.

◆ CallSiteFeedback() [3/5]

v8::internal::wasm::CallSiteFeedback::CallSiteFeedback ( PolymorphicCase * polymorphic_cases,
int num_cases )
inline

Definition at line 553 of file wasm-module.h.

◆ CallSiteFeedback() [4/5]

v8::internal::wasm::CallSiteFeedback::CallSiteFeedback ( const CallSiteFeedback & other)
inline

Definition at line 560 of file wasm-module.h.

◆ CallSiteFeedback() [5/5]

v8::internal::wasm::CallSiteFeedback::CallSiteFeedback ( CallSiteFeedback && other)
inline

Definition at line 561 of file wasm-module.h.

◆ ~CallSiteFeedback()

v8::internal::wasm::CallSiteFeedback::~CallSiteFeedback ( )
inline

Definition at line 590 of file wasm-module.h.

Member Function Documentation

◆ call_count()

int v8::internal::wasm::CallSiteFeedback::call_count ( int i) const
inline

Definition at line 604 of file wasm-module.h.

Here is the caller graph for this function:

◆ CreateMegamorphic()

static CallSiteFeedback v8::internal::wasm::CallSiteFeedback::CreateMegamorphic ( )
inlinestatic

Definition at line 538 of file wasm-module.h.

◆ function_index()

int v8::internal::wasm::CallSiteFeedback::function_index ( int i) const
inline

Definition at line 599 of file wasm-module.h.

Here is the caller graph for this function:

◆ has_non_inlineable_targets()

bool v8::internal::wasm::CallSiteFeedback::has_non_inlineable_targets ( ) const
inline

Definition at line 609 of file wasm-module.h.

Here is the caller graph for this function:

◆ is_invalid()

bool v8::internal::wasm::CallSiteFeedback::is_invalid ( ) const
inlineprivate

Definition at line 621 of file wasm-module.h.

◆ is_megamorphic()

bool v8::internal::wasm::CallSiteFeedback::is_megamorphic ( ) const
inline

Definition at line 616 of file wasm-module.h.

Here is the caller graph for this function:

◆ is_monomorphic()

bool v8::internal::wasm::CallSiteFeedback::is_monomorphic ( ) const
inlineprivate

Definition at line 619 of file wasm-module.h.

◆ is_polymorphic()

bool v8::internal::wasm::CallSiteFeedback::is_polymorphic ( ) const
inlineprivate

Definition at line 620 of file wasm-module.h.

◆ num_cases()

int v8::internal::wasm::CallSiteFeedback::num_cases ( ) const
inline

Definition at line 594 of file wasm-module.h.

Here is the caller graph for this function:

◆ operator=() [1/2]

CallSiteFeedback & v8::internal::wasm::CallSiteFeedback::operator= ( CallSiteFeedback && other)
inline

Definition at line 579 of file wasm-module.h.

◆ operator=() [2/2]

CallSiteFeedback & v8::internal::wasm::CallSiteFeedback::operator= ( const CallSiteFeedback & other)
inline

Definition at line 562 of file wasm-module.h.

◆ polymorphic_storage()

const PolymorphicCase * v8::internal::wasm::CallSiteFeedback::polymorphic_storage ( ) const
inlineprivate

Definition at line 622 of file wasm-module.h.

◆ set_has_non_inlineable_targets()

void v8::internal::wasm::CallSiteFeedback::set_has_non_inlineable_targets ( bool has_non_inlineable_targets)
inline

Definition at line 612 of file wasm-module.h.

Member Data Documentation

◆ frequency_or_ool_

intptr_t v8::internal::wasm::CallSiteFeedback::frequency_or_ool_
private

Definition at line 630 of file wasm-module.h.

◆ has_non_inlineable_targets_

bool v8::internal::wasm::CallSiteFeedback::has_non_inlineable_targets_ = false
private

Definition at line 628 of file wasm-module.h.

◆ index_or_count_

int v8::internal::wasm::CallSiteFeedback::index_or_count_
private

Definition at line 627 of file wasm-module.h.

◆ is_megamorphic_

bool v8::internal::wasm::CallSiteFeedback::is_megamorphic_ = false
private

Definition at line 629 of file wasm-module.h.


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