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
GlobalHandles::NodeBlock Class Reference

Public Member Functions

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

Static Public Attributes

static const int kSize = 256
 

Detailed Description

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

Constructor & Destructor Documentation

NodeBlock ( GlobalHandles global_handles,
NodeBlock next 
)
inlineexplicit

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

Member Function Documentation

void DecreaseUses ( )
inline

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

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

GlobalHandles* global_handles ( )
inline

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

Referenced by GlobalHandles::Node::GetGlobalHandles().

void IncreaseUses ( )
inline

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

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

NodeBlock* next ( ) const
inline

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

Referenced by GlobalHandles::~GlobalHandles().

NodeBlock* next_used ( ) const
inline

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

Node* node_at ( int  index)
inline

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

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

NodeBlock* prev_used ( ) const
inline

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

void PutNodesOnFreeList ( Node **  first_free)
inline

Field Documentation


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