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

#include <processed-feedback.h>

Inheritance diagram for v8::internal::compiler::GlobalAccessFeedback:
Collaboration diagram for v8::internal::compiler::GlobalAccessFeedback:

Public Member Functions

 GlobalAccessFeedback (PropertyCellRef cell, FeedbackSlotKind slot_kind)
 
 GlobalAccessFeedback (ContextRef script_context, int slot_index, bool immutable, FeedbackSlotKind slot_kind)
 
 GlobalAccessFeedback (FeedbackSlotKind slot_kind)
 
bool IsMegamorphic () const
 
bool IsPropertyCell () const
 
PropertyCellRef property_cell () const
 
bool IsScriptContextSlot () const
 
ContextRef script_context () const
 
int slot_index () const
 
bool immutable () const
 
OptionalObjectRef GetConstantHint (JSHeapBroker *broker) const
 
- Public Member Functions inherited from v8::internal::compiler::ProcessedFeedback
Kind kind () const
 
FeedbackSlotKind slot_kind () const
 
bool IsInsufficient () const
 
BinaryOperationFeedback const & AsBinaryOperation () const
 
TypeOfOpFeedback const & AsTypeOf () const
 
CallFeedback const & AsCall () const
 
CompareOperationFeedback const & AsCompareOperation () const
 
ElementAccessFeedback const & AsElementAccess () const
 
ForInFeedback const & AsForIn () const
 
GlobalAccessFeedback const & AsGlobalAccess () const
 
InstanceOfFeedback const & AsInstanceOf () const
 
NamedAccessFeedback const & AsNamedAccess () const
 
MegaDOMPropertyAccessFeedback const & AsMegaDOMPropertyAccess () const
 
LiteralFeedback const & AsLiteral () const
 
RegExpLiteralFeedback const & AsRegExpLiteral () const
 
TemplateObjectFeedback const & AsTemplateObject () const
 
- Public Member Functions inherited from v8::internal::ZoneObject
void * operator new (size_t, Zone *)=delete
 
void * operator new (size_t size, void *ptr)
 
void operator delete (void *, size_t)
 
void operator delete (void *pointer, Zone *zone)=delete
 

Private Attributes

OptionalObjectRef const cell_or_context_
 
int const index_and_immutable_
 

Additional Inherited Members

- Public Types inherited from v8::internal::compiler::ProcessedFeedback
enum  Kind {
  kInsufficient , kBinaryOperation , kCall , kCompareOperation ,
  kElementAccess , kForIn , kGlobalAccess , kInstanceOf ,
  kTypeOf , kLiteral , kMegaDOMPropertyAccess , kNamedAccess ,
  kRegExpLiteral , kTemplateObject
}
 
- Protected Member Functions inherited from v8::internal::compiler::ProcessedFeedback
 ProcessedFeedback (Kind kind, FeedbackSlotKind slot_kind)
 

Detailed Description

Definition at line 78 of file processed-feedback.h.

Constructor & Destructor Documentation

◆ GlobalAccessFeedback() [1/3]

v8::internal::compiler::GlobalAccessFeedback::GlobalAccessFeedback ( PropertyCellRef cell,
FeedbackSlotKind slot_kind )

Definition at line 290 of file js-heap-broker.cc.

Here is the call graph for this function:

◆ GlobalAccessFeedback() [2/3]

v8::internal::compiler::GlobalAccessFeedback::GlobalAccessFeedback ( ContextRef script_context,
int slot_index,
bool immutable,
FeedbackSlotKind slot_kind )

Definition at line 304 of file js-heap-broker.cc.

Here is the call graph for this function:

◆ GlobalAccessFeedback() [3/3]

v8::internal::compiler::GlobalAccessFeedback::GlobalAccessFeedback ( FeedbackSlotKind slot_kind)
explicit

Definition at line 298 of file js-heap-broker.cc.

Here is the call graph for this function:

Member Function Documentation

◆ GetConstantHint()

OptionalObjectRef v8::internal::compiler::GlobalAccessFeedback::GetConstantHint ( JSHeapBroker * broker) const

Definition at line 342 of file js-heap-broker.cc.

Here is the call graph for this function:

◆ immutable()

bool v8::internal::compiler::GlobalAccessFeedback::immutable ( ) const

Definition at line 337 of file js-heap-broker.cc.

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

◆ IsMegamorphic()

bool v8::internal::compiler::GlobalAccessFeedback::IsMegamorphic ( ) const

Definition at line 316 of file js-heap-broker.cc.

Here is the caller graph for this function:

◆ IsPropertyCell()

bool v8::internal::compiler::GlobalAccessFeedback::IsPropertyCell ( ) const

Definition at line 319 of file js-heap-broker.cc.

Here is the caller graph for this function:

◆ IsScriptContextSlot()

bool v8::internal::compiler::GlobalAccessFeedback::IsScriptContextSlot ( ) const

Definition at line 322 of file js-heap-broker.cc.

Here is the caller graph for this function:

◆ property_cell()

PropertyCellRef v8::internal::compiler::GlobalAccessFeedback::property_cell ( ) const

Definition at line 325 of file js-heap-broker.cc.

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

◆ script_context()

ContextRef v8::internal::compiler::GlobalAccessFeedback::script_context ( ) const

Definition at line 329 of file js-heap-broker.cc.

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

◆ slot_index()

int v8::internal::compiler::GlobalAccessFeedback::slot_index ( ) const

Definition at line 333 of file js-heap-broker.cc.

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

Member Data Documentation

◆ cell_or_context_

OptionalObjectRef const v8::internal::compiler::GlobalAccessFeedback::cell_or_context_
private

Definition at line 98 of file processed-feedback.h.

◆ index_and_immutable_

int const v8::internal::compiler::GlobalAccessFeedback::index_and_immutable_
private

Definition at line 99 of file processed-feedback.h.


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