V8 Project
v8::internal::TransitionElementsKindStub Class Reference

#include <code-stubs.h>

+ Inheritance diagram for v8::internal::TransitionElementsKindStub:
+ Collaboration diagram for v8::internal::TransitionElementsKindStub:

Classes

class  FromKindBits
 
class  IsJSArrayBits
 
class  ToKindBits
 

Public Member Functions

 TransitionElementsKindStub (Isolate *isolate, ElementsKind from_kind, ElementsKind to_kind, bool is_js_array)
 
ElementsKind from_kind () const
 
ElementsKind to_kind () const
 
bool is_js_array () const
 
- Public Member Functions inherited from v8::internal::HydrogenCodeStub
virtual Code::Kind GetCodeKind () const
 
virtual Handle< CodeGenerateCode ()=0
 
bool IsUninitialized () const
 
Handle< CodeGenerateLightweightMissCode (ExternalReference miss)
 
template<class StateType >
void TraceTransition (StateType from, StateType to)
 

Private Member Functions

 DEFINE_CALL_INTERFACE_DESCRIPTOR (TransitionElementsKind)
 
 DEFINE_HYDROGEN_CODE_STUB (TransitionElementsKind, HydrogenCodeStub)
 

Additional Inherited Members

- Public Types inherited from v8::internal::HydrogenCodeStub
enum  InitializationState { UNINITIALIZED , INITIALIZED }
 
- Static Public Member Functions inherited from v8::internal::HydrogenCodeStub
template<class SubClass >
static Handle< CodeGetUninitialized (Isolate *isolate)
 
- Protected Member Functions inherited from v8::internal::HydrogenCodeStub
 HydrogenCodeStub (Isolate *isolate, InitializationState state=INITIALIZED)
 
void set_sub_minor_key (uint32_t key)
 
uint32_t sub_minor_key () const
 
- Static Protected Attributes inherited from v8::internal::HydrogenCodeStub
static const int kSubMinorKeyBits = kStubMinorKeyBits - 1
 

Detailed Description

Definition at line 1986 of file code-stubs.h.

Constructor & Destructor Documentation

◆ TransitionElementsKindStub()

v8::internal::TransitionElementsKindStub::TransitionElementsKindStub ( Isolate isolate,
ElementsKind  from_kind,
ElementsKind  to_kind,
bool  is_js_array 
)
inline

Definition at line 1988 of file code-stubs.h.

1991  : HydrogenCodeStub(isolate) {
1995  }
static U encode(T value)
Definition: utils.h:217
HydrogenCodeStub(Isolate *isolate, InitializationState state=INITIALIZED)
Definition: code-stubs.h:457
void set_sub_minor_key(uint32_t key)
Definition: code-stubs.h:463

References v8::internal::BitFieldBase< T, shift, size, U >::encode(), from_kind(), is_js_array(), v8::internal::HydrogenCodeStub::set_sub_minor_key(), and to_kind().

+ Here is the call graph for this function:

Member Function Documentation

◆ DEFINE_CALL_INTERFACE_DESCRIPTOR()

v8::internal::TransitionElementsKindStub::DEFINE_CALL_INTERFACE_DESCRIPTOR ( TransitionElementsKind  )
private

◆ DEFINE_HYDROGEN_CODE_STUB()

v8::internal::TransitionElementsKindStub::DEFINE_HYDROGEN_CODE_STUB ( TransitionElementsKind  ,
HydrogenCodeStub   
)
private

◆ from_kind()

ElementsKind v8::internal::TransitionElementsKindStub::from_kind ( ) const
inline

Definition at line 1997 of file code-stubs.h.

1997  {
1999  }
static T decode(U value)
Definition: utils.h:228
uint32_t sub_minor_key() const
Definition: code-stubs.h:467

References v8::internal::BitFieldBase< T, shift, size, U >::decode(), and v8::internal::HydrogenCodeStub::sub_minor_key().

Referenced by TransitionElementsKindStub().

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

◆ is_js_array()

bool v8::internal::TransitionElementsKindStub::is_js_array ( ) const
inline

Definition at line 2003 of file code-stubs.h.

2003 { return IsJSArrayBits::decode(sub_minor_key()); }

References v8::internal::BitFieldBase< T, shift, size, U >::decode(), and v8::internal::HydrogenCodeStub::sub_minor_key().

Referenced by TransitionElementsKindStub().

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

◆ to_kind()

ElementsKind v8::internal::TransitionElementsKindStub::to_kind ( ) const
inline

Definition at line 2001 of file code-stubs.h.

2001 { return ToKindBits::decode(sub_minor_key()); }

References v8::internal::BitFieldBase< T, shift, size, U >::decode(), and v8::internal::HydrogenCodeStub::sub_minor_key().

Referenced by TransitionElementsKindStub().

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

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