V8 Project
|
#include <allocation-site-scopes.h>
Public Member Functions | |
AllocationSiteCreationContext (Isolate *isolate) | |
Handle< AllocationSite > | EnterNewScope () |
void | ExitScope (Handle< AllocationSite > site, Handle< JSObject > object) |
![]() | |
AllocationSiteContext (Isolate *isolate) | |
Handle< AllocationSite > | top () |
Handle< AllocationSite > | current () |
bool | ShouldCreateMemento (Handle< JSObject > object) |
Isolate * | isolate () |
Additional Inherited Members | |
![]() | |
void | update_current_site (AllocationSite *site) |
void | InitializeTraversal (Handle< AllocationSite > site) |
Definition at line 51 of file allocation-site-scopes.h.
|
inlineexplicit |
Definition at line 53 of file allocation-site-scopes.h.
Handle< AllocationSite > v8::internal::AllocationSiteCreationContext::EnterNewScope | ( | ) |
Definition at line 11 of file allocation-site-scopes.cc.
References v8::internal::AllocationSiteContext::current(), DCHECK, v8::internal::Isolate::factory(), v8::internal::AllocationSiteContext::InitializeTraversal(), v8::internal::Handle< T >::is_null(), v8::internal::AllocationSiteContext::isolate(), v8::internal::PrintF(), v8::internal::AllocationSiteContext::top(), and v8::internal::AllocationSiteContext::update_current_site().
Referenced by v8::internal::GetLiteralAllocationSite(), and v8::internal::RUNTIME_FUNCTION().
void v8::internal::AllocationSiteCreationContext::ExitScope | ( | Handle< AllocationSite > | site, |
Handle< JSObject > | object | ||
) |
Definition at line 39 of file allocation-site-scopes.cc.
References v8::internal::Handle< T >::is_null(), v8::internal::PrintF(), and v8::internal::AllocationSiteContext::top().
Referenced by v8::internal::GetLiteralAllocationSite(), and v8::internal::RUNTIME_FUNCTION().