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

#include <turbofan-types.h>

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

Public Member Functions

int LengthForTesting () const
 

Protected Member Functions

int Length () const
 
Type Get (int i) const
 
void Set (int i, Type type)
 
void Shrink (int length)
 
 StructuralType (Kind kind, int length, Zone *zone)
 
- Protected Member Functions inherited from v8::internal::compiler::TypeBase
Kind kind () const
 
 TypeBase (Kind kind)
 

Private Attributes

int length_
 
Typeelements_
 

Friends

class Type
 

Additional Inherited Members

- Protected Types inherited from v8::internal::compiler::TypeBase
enum  Kind {
  kHeapConstant , kOtherNumberConstant , kTuple , kUnion ,
  kRange , kWasm
}
 
- Static Protected Member Functions inherited from v8::internal::compiler::TypeBase
static bool IsKind (Type type, Kind kind)
 

Detailed Description

Definition at line 656 of file turbofan-types.h.

Constructor & Destructor Documentation

◆ StructuralType()

v8::internal::compiler::StructuralType::StructuralType ( Kind kind,
int length,
Zone * zone )
inlineprotected

Definition at line 680 of file turbofan-types.h.

Here is the call graph for this function:

Member Function Documentation

◆ Get()

Type v8::internal::compiler::StructuralType::Get ( int i) const
inlineprotected

Definition at line 665 of file turbofan-types.h.

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

◆ Length()

int v8::internal::compiler::StructuralType::Length ( ) const
inlineprotected

Definition at line 663 of file turbofan-types.h.

Here is the caller graph for this function:

◆ LengthForTesting()

int v8::internal::compiler::StructuralType::LengthForTesting ( ) const
inline

Definition at line 658 of file turbofan-types.h.

Here is the call graph for this function:

◆ Set()

void v8::internal::compiler::StructuralType::Set ( int i,
Type type )
inlineprotected

Definition at line 670 of file turbofan-types.h.

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

◆ Shrink()

void v8::internal::compiler::StructuralType::Shrink ( int length)
inlineprotected

Definition at line 675 of file turbofan-types.h.

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

Friends And Related Symbol Documentation

◆ Type

friend class Type
friend

Definition at line 661 of file turbofan-types.h.

Member Data Documentation

◆ elements_

Type* v8::internal::compiler::StructuralType::elements_
private

Definition at line 687 of file turbofan-types.h.

◆ length_

int v8::internal::compiler::StructuralType::length_
private

Definition at line 686 of file turbofan-types.h.


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