v8  3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GlobalHandles::NodeBlock Class Reference

Public Member Functions

 NodeBlock (NodeBlock *next)
 
void PutNodesOnFreeList (Node **first_free)
 
Nodenode_at (int index)
 
void IncreaseUses (GlobalHandles *global_handles)
 
void DecreaseUses (GlobalHandles *global_handles)
 
NodeBlocknext () const
 
NodeBlocknext_used () const
 
NodeBlockprev_used () const
 

Static Public Attributes

static const int kSize = 256
 

Detailed Description

Definition at line 279 of file global-handles.cc.

Constructor & Destructor Documentation

NodeBlock ( NodeBlock next)
inlineexplicit

Definition at line 283 of file global-handles.cc.

Member Function Documentation

void DecreaseUses ( GlobalHandles global_handles)
inline

Definition at line 309 of file global-handles.cc.

References ASSERT, and v8::internal::NULL.

void IncreaseUses ( GlobalHandles global_handles)
inline

Definition at line 297 of file global-handles.cc.

References ASSERT, GlobalHandles::NodeBlock::kSize, and v8::internal::NULL.

NodeBlock* next ( ) const
inline

Definition at line 321 of file global-handles.cc.

Referenced by GlobalHandles::~GlobalHandles().

NodeBlock* next_used ( ) const
inline

Definition at line 324 of file global-handles.cc.

Node* node_at ( int  index)
inline

Definition at line 292 of file global-handles.cc.

References ASSERT, and GlobalHandles::NodeBlock::kSize.

NodeBlock* prev_used ( ) const
inline

Definition at line 325 of file global-handles.cc.

void PutNodesOnFreeList ( Node **  first_free)
inline

Field Documentation


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