v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::TaggedPayload< PayloadTaggingScheme > Struct Template Reference

#include <tagged-payload.h>

Collaboration diagram for v8::internal::TaggedPayload< PayloadTaggingScheme >:

Public Member Functions

 TaggedPayload (Address pointer, typename PayloadTaggingScheme::TagType tag)
 
Address Untag (typename PayloadTaggingScheme::TagType tag) const
 
bool IsTaggedWith (typename PayloadTaggingScheme::TagType tag) const
 
void SetTag (typename PayloadTaggingScheme::TagType new_tag)
 
void SetMarkBit ()
 
void ClearMarkBit ()
 
bool HasMarkBitSet () const
 
uint32_t ExtractFreelistLink () const
 
PayloadTaggingScheme::TagType ExtractTag () const
 
bool ContainsFreelistLink () const
 
bool ContainsEvacuationEntry () const
 
bool IsZapped () const
 
Address ExtractEvacuationEntryHandleLocation () const
 
bool ContainsPointer () const
 
bool operator== (TaggedPayload other) const
 
bool operator!= (TaggedPayload other) const
 

Static Public Member Functions

static Address Tag (Address pointer, typename PayloadTaggingScheme::TagType tag)
 

Private Attributes

Address encoded_word_
 

Detailed Description

template<typename PayloadTaggingScheme>
struct v8::internal::TaggedPayload< PayloadTaggingScheme >

Definition at line 16 of file tagged-payload.h.

Constructor & Destructor Documentation

◆ TaggedPayload()

template<typename PayloadTaggingScheme >
v8::internal::TaggedPayload< PayloadTaggingScheme >::TaggedPayload ( Address pointer,
typename PayloadTaggingScheme::TagType tag )
inline

Definition at line 23 of file tagged-payload.h.

Member Function Documentation

◆ ClearMarkBit()

template<typename PayloadTaggingScheme >
void v8::internal::TaggedPayload< PayloadTaggingScheme >::ClearMarkBit ( )
inline

Definition at line 45 of file tagged-payload.h.

◆ ContainsEvacuationEntry()

template<typename PayloadTaggingScheme >
bool v8::internal::TaggedPayload< PayloadTaggingScheme >::ContainsEvacuationEntry ( ) const
inline

Definition at line 65 of file tagged-payload.h.

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

◆ ContainsFreelistLink()

template<typename PayloadTaggingScheme >
bool v8::internal::TaggedPayload< PayloadTaggingScheme >::ContainsFreelistLink ( ) const
inline

Definition at line 61 of file tagged-payload.h.

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

◆ ContainsPointer()

template<typename PayloadTaggingScheme >
bool v8::internal::TaggedPayload< PayloadTaggingScheme >::ContainsPointer ( ) const
inline

Definition at line 89 of file tagged-payload.h.

Here is the call graph for this function:

◆ ExtractEvacuationEntryHandleLocation()

template<typename PayloadTaggingScheme >
Address v8::internal::TaggedPayload< PayloadTaggingScheme >::ExtractEvacuationEntryHandleLocation ( ) const
inline

Definition at line 81 of file tagged-payload.h.

Here is the call graph for this function:

◆ ExtractFreelistLink()

template<typename PayloadTaggingScheme >
uint32_t v8::internal::TaggedPayload< PayloadTaggingScheme >::ExtractFreelistLink ( ) const
inline

Definition at line 51 of file tagged-payload.h.

◆ ExtractTag()

template<typename PayloadTaggingScheme >
PayloadTaggingScheme::TagType v8::internal::TaggedPayload< PayloadTaggingScheme >::ExtractTag ( ) const
inline

Definition at line 55 of file tagged-payload.h.

◆ HasMarkBitSet()

template<typename PayloadTaggingScheme >
bool v8::internal::TaggedPayload< PayloadTaggingScheme >::HasMarkBitSet ( ) const
inline

Definition at line 47 of file tagged-payload.h.

◆ IsTaggedWith()

template<typename PayloadTaggingScheme >
bool v8::internal::TaggedPayload< PayloadTaggingScheme >::IsTaggedWith ( typename PayloadTaggingScheme::TagType tag) const
inline

Definition at line 35 of file tagged-payload.h.

Here is the caller graph for this function:

◆ IsZapped()

template<typename PayloadTaggingScheme >
bool v8::internal::TaggedPayload< PayloadTaggingScheme >::IsZapped ( ) const
inline

Definition at line 73 of file tagged-payload.h.

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

◆ operator!=()

template<typename PayloadTaggingScheme >
bool v8::internal::TaggedPayload< PayloadTaggingScheme >::operator!= ( TaggedPayload< PayloadTaggingScheme > other) const
inline

Definition at line 97 of file tagged-payload.h.

◆ operator==()

template<typename PayloadTaggingScheme >
bool v8::internal::TaggedPayload< PayloadTaggingScheme >::operator== ( TaggedPayload< PayloadTaggingScheme > other) const
inline

Definition at line 93 of file tagged-payload.h.

◆ SetMarkBit()

template<typename PayloadTaggingScheme >
void v8::internal::TaggedPayload< PayloadTaggingScheme >::SetMarkBit ( )
inline

Definition at line 43 of file tagged-payload.h.

◆ SetTag()

template<typename PayloadTaggingScheme >
void v8::internal::TaggedPayload< PayloadTaggingScheme >::SetTag ( typename PayloadTaggingScheme::TagType new_tag)
inline

Definition at line 39 of file tagged-payload.h.

◆ Tag()

template<typename PayloadTaggingScheme >
static Address v8::internal::TaggedPayload< PayloadTaggingScheme >::Tag ( Address pointer,
typename PayloadTaggingScheme::TagType tag )
inlinestatic

Definition at line 30 of file tagged-payload.h.

◆ Untag()

template<typename PayloadTaggingScheme >
Address v8::internal::TaggedPayload< PayloadTaggingScheme >::Untag ( typename PayloadTaggingScheme::TagType tag) const
inline

Definition at line 26 of file tagged-payload.h.

Here is the caller graph for this function:

Member Data Documentation

◆ encoded_word_

template<typename PayloadTaggingScheme >
Address v8::internal::TaggedPayload< PayloadTaggingScheme >::encoded_word_
private

Definition at line 102 of file tagged-payload.h.


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