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

#include <objects.h>

Collaboration diagram for v8::internal::MapWord:

Public Member Functions

Tagged< MapToMap () const
 
bool IsForwardingAddress () const
 
Tagged< HeapObjectToForwardingAddress (Tagged< HeapObject > map_word_host)
 
constexpr Address ptr () const
 
constexpr bool operator== (MapWord other) const
 
constexpr bool operator!= (MapWord other) const
 

Static Public Member Functions

static MapWord FromMap (const Tagged< Map > map)
 
static V8_EXPORT_PRIVATE bool IsMapOrForwarded (Tagged< Map > map)
 
static MapWord FromForwardingAddress (Tagged< HeapObject > map_word_host, Tagged< HeapObject > object)
 
static constexpr bool IsPacked (Address)
 

Private Member Functions

constexpr MapWord (Address value)
 

Private Attributes

Address value_
 

Friends

class HeapObject
 
template<typename TFieldType , int kFieldOffset, typename CompressionScheme >
class TaggedField
 

Detailed Description

Definition at line 792 of file objects.h.

Constructor & Destructor Documentation

◆ MapWord()

v8::internal::MapWord::MapWord ( Address value)
inlineexplicitconstexprprivate

Definition at line 855 of file objects.h.

Here is the caller graph for this function:

Member Function Documentation

◆ FromForwardingAddress()

MapWord v8::internal::MapWord::FromForwardingAddress ( Tagged< HeapObject > map_word_host,
Tagged< HeapObject > object )
inlinestatic

Definition at line 1282 of file objects-inl.h.

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

◆ FromMap()

MapWord v8::internal::MapWord::FromMap ( const Tagged< Map > map)
inlinestatic

Definition at line 1254 of file objects-inl.h.

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

◆ IsForwardingAddress()

bool v8::internal::MapWord::IsForwardingAddress ( ) const
inline

Definition at line 1271 of file objects-inl.h.

Here is the caller graph for this function:

◆ IsMapOrForwarded()

bool v8::internal::MapWord::IsMapOrForwarded ( Tagged< Map > map)
static

Definition at line 6701 of file objects.cc.

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

◆ IsPacked()

static constexpr bool v8::internal::MapWord::IsPacked ( Address )
inlinestaticconstexpr

Definition at line 846 of file objects.h.

Here is the caller graph for this function:

◆ operator!=()

bool v8::internal::MapWord::operator!= ( MapWord other) const
inlineconstexpr

Definition at line 828 of file objects.h.

Here is the call graph for this function:

◆ operator==()

bool v8::internal::MapWord::operator== ( MapWord other) const
inlineconstexpr

Definition at line 825 of file objects.h.

Here is the call graph for this function:

◆ ptr()

Address v8::internal::MapWord::ptr ( ) const
inlineconstexpr

Definition at line 820 of file objects.h.

Here is the caller graph for this function:

◆ ToForwardingAddress()

Tagged< HeapObject > v8::internal::MapWord::ToForwardingAddress ( Tagged< HeapObject > map_word_host)
inline

Definition at line 1298 of file objects-inl.h.

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

◆ ToMap()

Tagged< Map > v8::internal::MapWord::ToMap ( ) const
inline

Definition at line 1263 of file objects-inl.h.

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

Friends And Related Symbol Documentation

◆ HeapObject

friend class HeapObject
friend

Definition at line 851 of file objects.h.

◆ TaggedField

template<typename TFieldType , int kFieldOffset, typename CompressionScheme >
friend class TaggedField
friend

Definition at line 853 of file objects.h.

Member Data Documentation

◆ value_

Address v8::internal::MapWord::value_
private

Definition at line 857 of file objects.h.


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