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

#include <allocation-site.h>

Inheritance diagram for v8::internal::AllocationMemento:
Collaboration diagram for v8::internal::AllocationMemento:

Public Member Functions

void set_allocation_site (Tagged< AllocationSite > value, WriteBarrierMode mode=UPDATE_WRITE_BARRIER)
 
bool IsValid () const
 
Tagged< AllocationSiteGetAllocationSite () const
 
Address GetAllocationSiteUnchecked () const
 
- Public Member Functions inherited from v8::internal::StructLayout
void BriefPrintDetails (std::ostream &os)
 
- Public Member Functions inherited from v8::internal::HeapObjectLayout
 HeapObjectLayout ()=delete
 
Tagged< Mapmap () const
 
Tagged< Mapmap (AcquireLoadTag) const
 
MapWord map_word (RelaxedLoadTag) const
 
void set_map (Isolate *isolate, Tagged< Map > value)
 
template<typename IsolateT >
void set_map (IsolateT *isolate, Tagged< Map > value, ReleaseStoreTag)
 
template<typename IsolateT >
void set_map_safe_transition (IsolateT *isolate, Tagged< Map > value, ReleaseStoreTag)
 
void set_map_safe_transition_no_write_barrier (Isolate *isolate, Tagged< Map > value, RelaxedStoreTag=kRelaxedStore)
 
template<typename IsolateT >
void set_map_after_allocation (IsolateT *isolate, Tagged< Map > value, WriteBarrierMode mode=UPDATE_WRITE_BARRIER)
 
void set_map_no_write_barrier (Isolate *isolate, Tagged< Map > value, RelaxedStoreTag=kRelaxedStore)
 
void set_map_word_forwarded (Tagged< HeapObject > target_object, ReleaseStoreTag)
 
void set_map_word_forwarded (Tagged< HeapObject > target_object, RelaxedStoreTag)
 
Address ptr () const
 
Address address () const
 
ReadOnlyRoots EarlyGetReadOnlyRoots () const
 
int Size () const
 
V8_EXPORT_PRIVATE int SizeFromMap (Tagged< Map > map) const
 
WriteBarrierMode GetWriteBarrierMode (const DisallowGarbageCollection &promise)
 

Private Attributes

TaggedMember< AllocationSiteallocation_site_
 

Friends

class CodeStubAssembler
 
class TorqueGeneratedAllocationMementoAsserts
 

Additional Inherited Members

- Public Types inherited from v8::internal::StructLayout
using BodyDescriptor = StructBodyDescriptor
 

Detailed Description

Definition at line 190 of file allocation-site.h.

Member Function Documentation

◆ GetAllocationSite()

Tagged< AllocationSite > v8::internal::AllocationMemento::GetAllocationSite ( ) const
inline

Definition at line 241 of file allocation-site-inl.h.

Here is the call graph for this function:

◆ GetAllocationSiteUnchecked()

Address v8::internal::AllocationMemento::GetAllocationSiteUnchecked ( ) const
inline

Definition at line 246 of file allocation-site-inl.h.

◆ IsValid()

bool v8::internal::AllocationMemento::IsValid ( ) const
inline

Definition at line 233 of file allocation-site-inl.h.

Here is the caller graph for this function:

◆ set_allocation_site()

void v8::internal::AllocationMemento::set_allocation_site ( Tagged< AllocationSite > value,
WriteBarrierMode mode = UPDATE_WRITE_BARRIER )
inline

Definition at line 237 of file allocation-site-inl.h.

Friends And Related Symbol Documentation

◆ CodeStubAssembler

friend class CodeStubAssembler
friend

Definition at line 203 of file allocation-site.h.

◆ TorqueGeneratedAllocationMementoAsserts

friend class TorqueGeneratedAllocationMementoAsserts
friend

Definition at line 204 of file allocation-site.h.

Member Data Documentation

◆ allocation_site_

TaggedMember<AllocationSite> v8::internal::AllocationMemento::allocation_site_
private

Definition at line 206 of file allocation-site.h.


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