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

#include <escape-analysis.h>

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

Public Types

using Id = uint32_t
 
using const_iterator = ZoneVector<Variable>::const_iterator
 

Public Member Functions

 VirtualObject (VariableTracker *var_states, Id id, int size)
 
Maybe< VariableFieldAt (int offset) const
 
Maybe< VariableFieldAt (Maybe< int > maybe_offset) const
 
Id id () const
 
int size () const
 
void SetEscaped ()
 
bool HasEscaped () const
 
const_iterator begin () const
 
const_iterator end () const
 
- Public Member Functions inherited from v8::internal::compiler::Dependable
 Dependable (Zone *zone)
 
void AddDependency (Node *node)
 
void RevisitDependants (EffectGraphReducer *reducer)
 
- 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

bool escaped_ = false
 
Id id_
 
ZoneVector< Variablefields_
 

Detailed Description

Definition at line 125 of file escape-analysis.h.

Member Typedef Documentation

◆ const_iterator

◆ Id

Definition at line 127 of file escape-analysis.h.

Constructor & Destructor Documentation

◆ VirtualObject()

v8::internal::compiler::VirtualObject::VirtualObject ( VariableTracker * var_states,
VirtualObject::Id id,
int size )

Definition at line 957 of file escape-analysis.cc.

Here is the call graph for this function:

Member Function Documentation

◆ begin()

const_iterator v8::internal::compiler::VirtualObject::begin ( ) const
inline

Definition at line 153 of file escape-analysis.h.

◆ end()

const_iterator v8::internal::compiler::VirtualObject::end ( ) const
inline

Definition at line 154 of file escape-analysis.h.

◆ FieldAt() [1/2]

Maybe< Variable > v8::internal::compiler::VirtualObject::FieldAt ( int offset) const
inline

Definition at line 130 of file escape-analysis.h.

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

◆ FieldAt() [2/2]

Maybe< Variable > v8::internal::compiler::VirtualObject::FieldAt ( Maybe< int > maybe_offset) const
inline

Definition at line 142 of file escape-analysis.h.

Here is the call graph for this function:

◆ HasEscaped()

bool v8::internal::compiler::VirtualObject::HasEscaped ( ) const
inline

Definition at line 152 of file escape-analysis.h.

Here is the caller graph for this function:

◆ id()

Id v8::internal::compiler::VirtualObject::id ( ) const
inline

Definition at line 147 of file escape-analysis.h.

Here is the caller graph for this function:

◆ SetEscaped()

void v8::internal::compiler::VirtualObject::SetEscaped ( )
inline

Definition at line 151 of file escape-analysis.h.

◆ size()

int v8::internal::compiler::VirtualObject::size ( ) const
inline

Definition at line 148 of file escape-analysis.h.

Here is the caller graph for this function:

Member Data Documentation

◆ escaped_

bool v8::internal::compiler::VirtualObject::escaped_ = false
private

Definition at line 157 of file escape-analysis.h.

◆ fields_

ZoneVector<Variable> v8::internal::compiler::VirtualObject::fields_
private

Definition at line 159 of file escape-analysis.h.

◆ id_

Id v8::internal::compiler::VirtualObject::id_
private

Definition at line 158 of file escape-analysis.h.


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