v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AllocationSiteUsageContext Class Reference

#include <allocation-site-scopes.h>

Inheritance diagram for AllocationSiteUsageContext:
Collaboration diagram for AllocationSiteUsageContext:

Public Member Functions

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

Additional Inherited Members

- Protected Member Functions inherited from AllocationSiteContext
void update_current_site (AllocationSite *site)
 
void InitializeTraversal (Handle< AllocationSite > site)
 

Detailed Description

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

Constructor & Destructor Documentation

AllocationSiteUsageContext ( Isolate isolate,
Handle< AllocationSite site,
bool  activated 
)
inline

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

Member Function Documentation

void ExitScope ( Handle< AllocationSite scope_site,
Handle< JSObject object 
)
inline

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

References ASSERT.

Referenced by v8::internal::RUNTIME_FUNCTION().


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