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

#include <assembler-ia32.h>

Collaboration diagram for v8::internal::Displacement:

Public Types

enum  Type { UNCONDITIONAL_JUMP , CODE_RELATIVE , OTHER , CODE_ABSOLUTE }
 

Public Member Functions

int data () const
 
Type type () const
 
void next (Label *L) const
 
void link_to (Label *L)
 
 Displacement (int data)
 
 Displacement (Label *L, Type type)
 
void print ()
 

Private Types

using TypeField = base::BitField<Type, 0, 2>
 
using NextField = base::BitField<int, 2, 32 - 2>
 

Private Member Functions

void init (Label *L, Type type)
 

Private Attributes

int data_
 

Detailed Description

Definition at line 342 of file assembler-ia32.h.

Member Typedef Documentation

◆ NextField

using v8::internal::Displacement::NextField = base::BitField<int, 2, 32 - 2>
private

Definition at line 367 of file assembler-ia32.h.

◆ TypeField

Definition at line 366 of file assembler-ia32.h.

Member Enumeration Documentation

◆ Type

Enumerator
UNCONDITIONAL_JUMP 
CODE_RELATIVE 
OTHER 
CODE_ABSOLUTE 

Definition at line 344 of file assembler-ia32.h.

Constructor & Destructor Documentation

◆ Displacement() [1/2]

v8::internal::Displacement::Displacement ( int data)
inlineexplicit

Definition at line 354 of file assembler-ia32.h.

Here is the call graph for this function:

◆ Displacement() [2/2]

v8::internal::Displacement::Displacement ( Label * L,
Type type )
inline

Definition at line 356 of file assembler-ia32.h.

Here is the call graph for this function:

Member Function Documentation

◆ data()

int v8::internal::Displacement::data ( ) const
inline

Definition at line 346 of file assembler-ia32.h.

Here is the caller graph for this function:

◆ init()

void v8::internal::Displacement::init ( Label * L,
Type type )
private
Here is the caller graph for this function:

◆ link_to()

void v8::internal::Displacement::link_to ( Label * L)
inline

Definition at line 352 of file assembler-ia32.h.

Here is the call graph for this function:

◆ next()

void v8::internal::Displacement::next ( Label * L) const
inline

Definition at line 348 of file assembler-ia32.h.

Here is the call graph for this function:

◆ print()

void v8::internal::Displacement::print ( )
inline

Definition at line 358 of file assembler-ia32.h.

Here is the call graph for this function:

◆ type()

Type v8::internal::Displacement::type ( ) const
inline

Definition at line 347 of file assembler-ia32.h.

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

Member Data Documentation

◆ data_

int v8::internal::Displacement::data_
private

Definition at line 364 of file assembler-ia32.h.


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