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

#include <allocation-site-scopes.h>

Inheritance diagram for v8::internal::AllocationSiteUsageContext:
Collaboration diagram for v8::internal::AllocationSiteUsageContext:

Public Member Functions

 AllocationSiteUsageContext (Isolate *isolate, Handle< AllocationSite > site, bool activated)
 
Handle< AllocationSiteEnterNewScope ()
 
void ExitScope (DirectHandle< AllocationSite > scope_site, DirectHandle< JSObject > object)
 
bool ShouldCreateMemento (DirectHandle< JSObject > object)
 
- Public Member Functions inherited from v8::internal::AllocationSiteContext
 AllocationSiteContext (Isolate *isolate)
 
DirectHandle< AllocationSitetop ()
 
DirectHandle< AllocationSitecurrent ()
 
bool ShouldCreateMemento (DirectHandle< JSObject > object)
 
Isolateisolate ()
 

Static Public Attributes

static const bool kCopying = true
 

Private Attributes

Handle< AllocationSitetop_site_
 
bool activated_
 

Additional Inherited Members

- Protected Member Functions inherited from v8::internal::AllocationSiteContext
void update_current_site (Tagged< AllocationSite > site)
 
void InitializeTraversal (Handle< AllocationSite > site)
 

Detailed Description

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

Constructor & Destructor Documentation

◆ AllocationSiteUsageContext()

v8::internal::AllocationSiteUsageContext::AllocationSiteUsageContext ( Isolate * isolate,
Handle< AllocationSite > site,
bool activated )
inline

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

Member Function Documentation

◆ EnterNewScope()

Handle< AllocationSite > v8::internal::AllocationSiteUsageContext::EnterNewScope ( )
inline

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

Here is the call graph for this function:

◆ ExitScope()

void v8::internal::AllocationSiteUsageContext::ExitScope ( DirectHandle< AllocationSite > scope_site,
DirectHandle< JSObject > object )
inline

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

◆ ShouldCreateMemento()

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

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

Here is the call graph for this function:

Member Data Documentation

◆ activated_

bool v8::internal::AllocationSiteUsageContext::activated_
private

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

◆ kCopying

const bool v8::internal::AllocationSiteUsageContext::kCopying = true
static

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

◆ top_site_

Handle<AllocationSite> v8::internal::AllocationSiteUsageContext::top_site_
private

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


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