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

#include <heap-refs.h>

Collaboration diagram for v8::internal::compiler::HeapObjectType:

Public Types

enum  Flag : uint8_t { kUndetectable = 1 << 0 , kCallable = 1 << 1 }
 
using Flags = base::Flags<Flag>
 

Public Member Functions

 HeapObjectType (InstanceType instance_type, ElementsKind elements_kind, Flags flags, OddballType oddball_type, HoleType hole_type)
 
OddballType oddball_type () const
 
HoleType hole_type () const
 
OddballType oddball_type (JSHeapBroker *broker) const
 
HoleType hole_type (JSHeapBroker *broker) const
 
InstanceType instance_type () const
 
Flags flags () const
 
ElementsKind elements_kind () const
 
bool is_callable () const
 
bool is_undetectable () const
 

Private Attributes

InstanceType const instance_type_
 
ElementsKind const elements_kind_
 
OddballType const oddball_type_
 
HoleType const hole_type_
 
Flags const flags_
 

Detailed Description

Definition at line 475 of file heap-refs.h.

Member Typedef Documentation

◆ Flags

Member Enumeration Documentation

◆ Flag

Enumerator
kUndetectable 
kCallable 

Definition at line 477 of file heap-refs.h.

Constructor & Destructor Documentation

◆ HeapObjectType()

v8::internal::compiler::HeapObjectType::HeapObjectType ( InstanceType instance_type,
ElementsKind elements_kind,
Flags flags,
OddballType oddball_type,
HoleType hole_type )
inline

Definition at line 481 of file heap-refs.h.

Here is the call graph for this function:

Member Function Documentation

◆ elements_kind()

ElementsKind v8::internal::compiler::HeapObjectType::elements_kind ( ) const
inline

Definition at line 499 of file heap-refs.h.

◆ flags()

Flags v8::internal::compiler::HeapObjectType::flags ( ) const
inline

Definition at line 498 of file heap-refs.h.

◆ hole_type() [1/2]

HoleType v8::internal::compiler::HeapObjectType::hole_type ( ) const
inline

Definition at line 493 of file heap-refs.h.

◆ hole_type() [2/2]

HoleType v8::internal::compiler::HeapObjectType::hole_type ( JSHeapBroker * broker) const
inline

Definition at line 496 of file heap-refs.h.

◆ instance_type()

InstanceType v8::internal::compiler::HeapObjectType::instance_type ( ) const
inline

Definition at line 497 of file heap-refs.h.

Here is the caller graph for this function:

◆ is_callable()

bool v8::internal::compiler::HeapObjectType::is_callable ( ) const
inline

Definition at line 501 of file heap-refs.h.

◆ is_undetectable()

bool v8::internal::compiler::HeapObjectType::is_undetectable ( ) const
inline

Definition at line 502 of file heap-refs.h.

◆ oddball_type() [1/2]

OddballType v8::internal::compiler::HeapObjectType::oddball_type ( ) const
inline

Definition at line 492 of file heap-refs.h.

Here is the caller graph for this function:

◆ oddball_type() [2/2]

OddballType v8::internal::compiler::HeapObjectType::oddball_type ( JSHeapBroker * broker) const
inline

Definition at line 495 of file heap-refs.h.

Member Data Documentation

◆ elements_kind_

ElementsKind const v8::internal::compiler::HeapObjectType::elements_kind_
private

Definition at line 506 of file heap-refs.h.

◆ flags_

Flags const v8::internal::compiler::HeapObjectType::flags_
private

Definition at line 509 of file heap-refs.h.

◆ hole_type_

HoleType const v8::internal::compiler::HeapObjectType::hole_type_
private

Definition at line 508 of file heap-refs.h.

◆ instance_type_

InstanceType const v8::internal::compiler::HeapObjectType::instance_type_
private

Definition at line 505 of file heap-refs.h.

◆ oddball_type_

OddballType const v8::internal::compiler::HeapObjectType::oddball_type_
private

Definition at line 507 of file heap-refs.h.


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