v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <allocation-site-scopes.h>
Public Member Functions | |
AllocationSiteCreationContext (Isolate *isolate) | |
Handle< AllocationSite > | EnterNewScope () |
void | ExitScope (Handle< AllocationSite > site, Handle< JSObject > object) |
Public Member Functions inherited from AllocationSiteContext | |
AllocationSiteContext (Isolate *isolate) | |
Handle< AllocationSite > | top () |
Handle< AllocationSite > | current () |
bool | ShouldCreateMemento (Handle< JSObject > object) |
Isolate * | isolate () |
Additional Inherited Members | |
Protected Member Functions inherited from AllocationSiteContext | |
void | update_current_site (AllocationSite *site) |
void | InitializeTraversal (Handle< AllocationSite > site) |
Definition at line 74 of file allocation-site-scopes.h.
|
inlineexplicit |
Definition at line 76 of file allocation-site-scopes.h.
Handle< AllocationSite > EnterNewScope | ( | ) |
Definition at line 34 of file allocation-site-scopes.cc.
References ASSERT, AllocationSiteContext::current(), Isolate::factory(), AllocationSiteContext::InitializeTraversal(), Handle< T >::is_null(), AllocationSiteContext::isolate(), Factory::NewAllocationSite(), v8::internal::PrintF(), AllocationSiteContext::top(), and AllocationSiteContext::update_current_site().
Referenced by v8::internal::RUNTIME_FUNCTION().
void ExitScope | ( | Handle< AllocationSite > | site, |
Handle< JSObject > | object | ||
) |
Definition at line 62 of file allocation-site-scopes.cc.
References Handle< T >::is_null(), v8::internal::PrintF(), and AllocationSiteContext::top().
Referenced by v8::internal::RUNTIME_FUNCTION().