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

#include <allocation-site-scopes.h>

Inheritance diagram for v8::internal::AllocationSiteContext:
Collaboration diagram for v8::internal::AllocationSiteContext:

Public Member Functions

 AllocationSiteContext (Isolate *isolate)
 
DirectHandle< AllocationSitetop ()
 
DirectHandle< AllocationSitecurrent ()
 
bool ShouldCreateMemento (DirectHandle< JSObject > object)
 
Isolateisolate ()
 

Protected Member Functions

void update_current_site (Tagged< AllocationSite > site)
 
void InitializeTraversal (Handle< AllocationSite > site)
 

Private Attributes

Isolateisolate_
 
Handle< AllocationSitetop_
 
Handle< AllocationSitecurrent_
 

Detailed Description

Definition at line 18 of file allocation-site-scopes.h.

Constructor & Destructor Documentation

◆ AllocationSiteContext()

v8::internal::AllocationSiteContext::AllocationSiteContext ( Isolate * isolate)
inlineexplicit

Definition at line 20 of file allocation-site-scopes.h.

Here is the call graph for this function:

Member Function Documentation

◆ current()

DirectHandle< AllocationSite > v8::internal::AllocationSiteContext::current ( )
inline

Definition at line 23 of file allocation-site-scopes.h.

Here is the caller graph for this function:

◆ InitializeTraversal()

void v8::internal::AllocationSiteContext::InitializeTraversal ( Handle< AllocationSite > site)
inlineprotected

Definition at line 16 of file allocation-site-scopes-inl.h.

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

◆ isolate()

Isolate * v8::internal::AllocationSiteContext::isolate ( )
inline

Definition at line 27 of file allocation-site-scopes.h.

Here is the caller graph for this function:

◆ ShouldCreateMemento()

bool v8::internal::AllocationSiteContext::ShouldCreateMemento ( DirectHandle< JSObject > object)
inline

Definition at line 25 of file allocation-site-scopes.h.

◆ top()

DirectHandle< AllocationSite > v8::internal::AllocationSiteContext::top ( )
inline

Definition at line 22 of file allocation-site-scopes.h.

Here is the caller graph for this function:

◆ update_current_site()

void v8::internal::AllocationSiteContext::update_current_site ( Tagged< AllocationSite > site)
inlineprotected

Definition at line 30 of file allocation-site-scopes.h.

Here is the caller graph for this function:

Member Data Documentation

◆ current_

Handle<AllocationSite> v8::internal::AllocationSiteContext::current_
private

Definition at line 39 of file allocation-site-scopes.h.

◆ isolate_

Isolate* v8::internal::AllocationSiteContext::isolate_
private

Definition at line 37 of file allocation-site-scopes.h.

◆ top_

Handle<AllocationSite> v8::internal::AllocationSiteContext::top_
private

Definition at line 38 of file allocation-site-scopes.h.


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