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

#include <label.h>

Collaboration diagram for v8::internal::Label:

Public Types

enum  Distance { kNear , kFar }
 

Public Member Functions

 Label ()=default
 
 Label (const Label &)=delete
 
Labeloperator= (const Label &)=delete
 
 Label (Label &&) V8_NOEXCEPT=default
 
Labeloperator= (Label &&) V8_NOEXCEPT=default
 
V8_INLINE void Unuse ()
 
V8_INLINE void UnuseNear ()
 
V8_INLINE bool is_bound () const
 
V8_INLINE bool is_unused () const
 
V8_INLINE bool is_linked () const
 
V8_INLINE bool is_near_linked () const
 
int pos () const
 
int near_link_pos () const
 

Private Member Functions

void bind_to (int pos)
 
void link_to (int pos, Distance distance=kFar)
 

Private Attributes

int pos_ = 0
 
int near_link_pos_ = 0
 

Friends

class Assembler
 
class Displacement
 
class RegExpBytecodeGenerator
 

Detailed Description

Definition at line 19 of file label.h.

Member Enumeration Documentation

◆ Distance

Enumerator
kNear 
kFar 

Definition at line 21 of file label.h.

Constructor & Destructor Documentation

◆ Label() [1/3]

v8::internal::Label::Label ( )
default

◆ Label() [2/3]

v8::internal::Label::Label ( const Label & )
delete

◆ Label() [3/3]

v8::internal::Label::Label ( Label && )
default

Member Function Documentation

◆ bind_to()

void v8::internal::Label::bind_to ( int pos)
inlineprivate

Definition at line 91 of file label.h.

Here is the call graph for this function:

◆ is_bound()

V8_INLINE bool v8::internal::Label::is_bound ( ) const
inline

Definition at line 64 of file label.h.

Here is the caller graph for this function:

◆ is_linked()

V8_INLINE bool v8::internal::Label::is_linked ( ) const
inline

Definition at line 66 of file label.h.

Here is the caller graph for this function:

◆ is_near_linked()

V8_INLINE bool v8::internal::Label::is_near_linked ( ) const
inline

Definition at line 67 of file label.h.

Here is the caller graph for this function:

◆ is_unused()

V8_INLINE bool v8::internal::Label::is_unused ( ) const
inline

Definition at line 65 of file label.h.

Here is the caller graph for this function:

◆ link_to()

void v8::internal::Label::link_to ( int pos,
Distance distance = kFar )
inlineprivate

Definition at line 95 of file label.h.

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

◆ near_link_pos()

int v8::internal::Label::near_link_pos ( ) const
inline

Definition at line 77 of file label.h.

◆ operator=() [1/2]

Label & v8::internal::Label::operator= ( const Label & )
delete

◆ operator=() [2/2]

Label & v8::internal::Label::operator= ( Label && )
default
Here is the call graph for this function:

◆ pos()

int v8::internal::Label::pos ( ) const
inline

Definition at line 71 of file label.h.

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

◆ Unuse()

V8_INLINE void v8::internal::Label::Unuse ( )
inline

Definition at line 61 of file label.h.

Here is the caller graph for this function:

◆ UnuseNear()

V8_INLINE void v8::internal::Label::UnuseNear ( )
inline

Definition at line 62 of file label.h.

Friends And Related Symbol Documentation

◆ Assembler

friend class Assembler
friend

Definition at line 105 of file label.h.

◆ Displacement

friend class Displacement
friend

Definition at line 106 of file label.h.

◆ RegExpBytecodeGenerator

friend class RegExpBytecodeGenerator
friend

Definition at line 107 of file label.h.

Member Data Documentation

◆ near_link_pos_

int v8::internal::Label::near_link_pos_ = 0
private

Definition at line 89 of file label.h.

◆ pos_

int v8::internal::Label::pos_ = 0
private

Definition at line 86 of file label.h.


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