V8 Project
|
#include <allocation-site-scopes.h>
Public Member Functions | |
AllocationSiteUsageContext (Isolate *isolate, Handle< AllocationSite > site, bool activated) | |
Handle< AllocationSite > | EnterNewScope () |
void | ExitScope (Handle< AllocationSite > scope_site, Handle< JSObject > object) |
bool | ShouldCreateMemento (Handle< JSObject > object) |
![]() | |
AllocationSiteContext (Isolate *isolate) | |
Handle< AllocationSite > | top () |
Handle< AllocationSite > | current () |
bool | ShouldCreateMemento (Handle< JSObject > object) |
Isolate * | isolate () |
Private Attributes | |
Handle< AllocationSite > | top_site_ |
bool | activated_ |
Additional Inherited Members | |
![]() | |
void | update_current_site (AllocationSite *site) |
void | InitializeTraversal (Handle< AllocationSite > site) |
Definition at line 63 of file allocation-site-scopes.h.
|
inline |
Definition at line 65 of file allocation-site-scopes.h.
|
inline |
Definition at line 71 of file allocation-site-scopes.h.
References v8::internal::AllocationSiteContext::current(), DCHECK, v8::internal::AllocationSiteContext::InitializeTraversal(), v8::internal::AllocationSiteContext::isolate(), v8::internal::AllocationSiteContext::top(), top_site_, and v8::internal::AllocationSiteContext::update_current_site().
Referenced by v8::internal::HOptimizedGraphBuilder::BuildEmitFixedArray(), v8::internal::HOptimizedGraphBuilder::BuildEmitInObjectProperties(), v8::internal::CreateArrayLiteralImpl(), and v8::internal::RUNTIME_FUNCTION().
|
inline |
Definition at line 84 of file allocation-site-scopes.h.
References DCHECK.
Referenced by v8::internal::HOptimizedGraphBuilder::BuildEmitFixedArray(), v8::internal::HOptimizedGraphBuilder::BuildEmitInObjectProperties(), v8::internal::CreateArrayLiteralImpl(), and v8::internal::RUNTIME_FUNCTION().
Definition at line 63 of file allocation-site-scopes.cc.
References activated_, v8::internal::AllocationSite::CanTrack(), v8::internal::AllocationSite::GetMode(), v8::internal::PrintF(), and v8::internal::TRACK_ALLOCATION_SITE.
|
private |
Definition at line 95 of file allocation-site-scopes.h.
Referenced by ShouldCreateMemento().
|
private |
Definition at line 94 of file allocation-site-scopes.h.
Referenced by EnterNewScope().