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

#include <processed-feedback.h>

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

Public Types

using TransitionGroup = ZoneVector<MapRef>
 
- Public Types inherited from v8::internal::compiler::ProcessedFeedback
enum  Kind {
  kInsufficient , kBinaryOperation , kCall , kCompareOperation ,
  kElementAccess , kForIn , kGlobalAccess , kInstanceOf ,
  kTypeOf , kLiteral , kMegaDOMPropertyAccess , kNamedAccess ,
  kRegExpLiteral , kTemplateObject
}
 

Public Member Functions

 ElementAccessFeedback (Zone *zone, KeyedAccessMode const &keyed_mode, FeedbackSlotKind slot_kind)
 
KeyedAccessMode keyed_mode () const
 
ZoneVector< TransitionGroup > const & transition_groups () const
 
bool HasOnlyStringMaps (JSHeapBroker *broker) const
 
void AddGroup (TransitionGroup &&group)
 
ElementAccessFeedback const & Refine (JSHeapBroker *broker, ZoneVector< MapRef > const &inferred_maps) const
 
ElementAccessFeedback const & Refine (JSHeapBroker *broker, ZoneRefSet< Map > const &inferred_maps, bool always_keep_group_target=true) const
 
NamedAccessFeedback const & Refine (JSHeapBroker *broker, NameRef name) 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

KeyedAccessMode const keyed_mode_
 
ZoneVector< TransitionGrouptransition_groups_
 

Additional Inherited Members

- Protected Member Functions inherited from v8::internal::compiler::ProcessedFeedback
 ProcessedFeedback (Kind kind, FeedbackSlotKind slot_kind)
 

Detailed Description

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

Member Typedef Documentation

◆ TransitionGroup

Constructor & Destructor Documentation

◆ ElementAccessFeedback()

v8::internal::compiler::ElementAccessFeedback::ElementAccessFeedback ( Zone * zone,
KeyedAccessMode const & keyed_mode,
FeedbackSlotKind slot_kind )

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

Here is the call graph for this function:

Member Function Documentation

◆ AddGroup()

void v8::internal::compiler::ElementAccessFeedback::AddGroup ( TransitionGroup && group)

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

Here is the call graph for this function:

◆ HasOnlyStringMaps()

bool v8::internal::compiler::ElementAccessFeedback::HasOnlyStringMaps ( JSHeapBroker * broker) const

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

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

◆ keyed_mode()

KeyedAccessMode v8::internal::compiler::ElementAccessFeedback::keyed_mode ( ) const

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

Here is the caller graph for this function:

◆ Refine() [1/3]

NamedAccessFeedback const & v8::internal::compiler::ElementAccessFeedback::Refine ( JSHeapBroker * broker,
NameRef name ) const

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

Here is the call graph for this function:

◆ Refine() [2/3]

ElementAccessFeedback const & v8::internal::compiler::ElementAccessFeedback::Refine ( JSHeapBroker * broker,
ZoneRefSet< Map > const & inferred_maps,
bool always_keep_group_target = true ) const

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

Here is the call graph for this function:

◆ Refine() [3/3]

ElementAccessFeedback const & v8::internal::compiler::ElementAccessFeedback::Refine ( JSHeapBroker * broker,
ZoneVector< MapRef > const & inferred_maps ) const

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

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

◆ transition_groups()

ZoneVector< ElementAccessFeedback::TransitionGroup > const & v8::internal::compiler::ElementAccessFeedback::transition_groups ( ) const

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

Here is the caller graph for this function:

Member Data Documentation

◆ keyed_mode_

KeyedAccessMode const v8::internal::compiler::ElementAccessFeedback::keyed_mode_
private

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

◆ transition_groups_

ZoneVector<TransitionGroup> v8::internal::compiler::ElementAccessFeedback::transition_groups_
private

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


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