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
CompilationSubCache Class Reference

#include <compilation-cache.h>

Inheritance diagram for CompilationSubCache:

Public Member Functions

 CompilationSubCache (Isolate *isolate, int generations)
 
 ~CompilationSubCache ()
 
Handle< CompilationCacheTableGetTable (int generation)
 
Handle< CompilationCacheTableGetFirstTable ()
 
void SetFirstTable (Handle< CompilationCacheTable > value)
 
void Age ()
 
void Iterate (ObjectVisitor *v)
 
void IterateFunctions (ObjectVisitor *v)
 
void Clear ()
 
void Remove (Handle< SharedFunctionInfo > function_info)
 
int generations ()
 

Static Public Attributes

static const int kFirstGeneration = 0
 

Protected Member Functions

Isolateisolate ()
 

Detailed Description

Definition at line 39 of file compilation-cache.h.

Constructor & Destructor Documentation

CompilationSubCache ( Isolate isolate,
int  generations 
)
inline

Definition at line 41 of file compilation-cache.h.

References CompilationSubCache::generations().

~CompilationSubCache ( )
inline

Definition at line 47 of file compilation-cache.h.

References v8::internal::DeleteArray().

Member Function Documentation

void Age ( )
void Clear ( )
Handle<CompilationCacheTable> GetFirstTable ( )
inline
void Iterate ( ObjectVisitor *  v)

Definition at line 111 of file compilation-cache.cc.

Referenced by CompilationCache::Iterate().

void IterateFunctions ( ObjectVisitor *  v)

Field Documentation

const int kFirstGeneration = 0
static

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