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

#include <register-allocator.h>

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

Public Member Functions

 SpillRange (TopLevelLiveRange *range, Zone *zone)
 
 SpillRange (const SpillRange &)=delete
 
SpillRangeoperator= (const SpillRange &)=delete
 
bool IsEmpty () const
 
bool TryMerge (SpillRange *other)
 
bool HasSlot () const
 
void set_assigned_slot (int index)
 
int assigned_slot () const
 
int byte_width () const
 
void Print () 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
 

Static Public Attributes

static const int kUnassignedSlot = -1
 

Private Attributes

ZoneVector< TopLevelLiveRange * > ranges_
 
ZoneVector< UseIntervalintervals_
 
int assigned_slot_
 
int byte_width_
 

Detailed Description

Definition at line 1300 of file register-allocator.h.

Constructor & Destructor Documentation

◆ SpillRange() [1/2]

v8::internal::compiler::SpillRange::SpillRange ( TopLevelLiveRange * range,
Zone * zone )

Definition at line 1031 of file register-allocator.cc.

Here is the call graph for this function:

◆ SpillRange() [2/2]

v8::internal::compiler::SpillRange::SpillRange ( const SpillRange & )
delete

Member Function Documentation

◆ assigned_slot()

int v8::internal::compiler::SpillRange::assigned_slot ( ) const
inline

Definition at line 1316 of file register-allocator.h.

Here is the caller graph for this function:

◆ byte_width()

int v8::internal::compiler::SpillRange::byte_width ( ) const
inline

Definition at line 1322 of file register-allocator.h.

Here is the caller graph for this function:

◆ HasSlot()

bool v8::internal::compiler::SpillRange::HasSlot ( ) const
inline

Definition at line 1310 of file register-allocator.h.

Here is the caller graph for this function:

◆ IsEmpty()

bool v8::internal::compiler::SpillRange::IsEmpty ( ) const
inline

Definition at line 1308 of file register-allocator.h.

◆ operator=()

SpillRange & v8::internal::compiler::SpillRange::operator= ( const SpillRange & )
delete

◆ Print()

void v8::internal::compiler::SpillRange::Print ( ) const

Definition at line 1135 of file register-allocator.cc.

◆ set_assigned_slot()

void v8::internal::compiler::SpillRange::set_assigned_slot ( int index)
inline

Definition at line 1312 of file register-allocator.h.

Here is the caller graph for this function:

◆ TryMerge()

bool v8::internal::compiler::SpillRange::TryMerge ( SpillRange * other)

Definition at line 1108 of file register-allocator.cc.

Here is the call graph for this function:

Member Data Documentation

◆ assigned_slot_

int v8::internal::compiler::SpillRange::assigned_slot_
private

Definition at line 1331 of file register-allocator.h.

◆ byte_width_

int v8::internal::compiler::SpillRange::byte_width_
private

Definition at line 1332 of file register-allocator.h.

◆ intervals_

ZoneVector<UseInterval> v8::internal::compiler::SpillRange::intervals_
private

Definition at line 1329 of file register-allocator.h.

◆ kUnassignedSlot

const int v8::internal::compiler::SpillRange::kUnassignedSlot = -1
static

Definition at line 1302 of file register-allocator.h.

◆ ranges_

ZoneVector<TopLevelLiveRange*> v8::internal::compiler::SpillRange::ranges_
private

Definition at line 1327 of file register-allocator.h.


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