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

#include <regexp-stack.h>

Public Member Functions

Address stack_base ()
 
size_t stack_capacity ()
 
Addresslimit_address ()
 
Address EnsureCapacity (size_t size)
 
char * ArchiveStack (char *to)
 
char * RestoreStack (char *from)
 
void FreeThreadResources ()
 

Static Public Member Functions

static int ArchiveSpacePerThread ()
 

Static Public Attributes

static const int kStackLimitSlack = 32
 

Friends

class ExternalReference
 
class Isolate
 
class RegExpStackScope
 

Detailed Description

Definition at line 58 of file regexp-stack.h.

Member Function Documentation

static int ArchiveSpacePerThread ( )
inlinestatic

Definition at line 86 of file regexp-stack.h.

char * ArchiveStack ( char *  to)

Definition at line 57 of file regexp-stack.cc.

void FreeThreadResources ( )
inline

Definition at line 91 of file regexp-stack.h.

Referenced by ThreadManager::FreeThreadResources().

Address* limit_address ( )
inline

Definition at line 79 of file regexp-stack.h.

char * RestoreStack ( char *  from)

Definition at line 67 of file regexp-stack.cc.

Referenced by ThreadManager::RestoreThread().

Address stack_base ( )
inline

Definition at line 66 of file regexp-stack.h.

References ASSERT.

Referenced by NativeRegExpMacroAssembler::Execute(), and NativeRegExpMacroAssembler::GrowStack().

size_t stack_capacity ( )
inline

Definition at line 72 of file regexp-stack.h.

Referenced by NativeRegExpMacroAssembler::GrowStack().

Friends And Related Function Documentation

friend class ExternalReference
friend

Definition at line 139 of file regexp-stack.h.

friend class Isolate
friend

Definition at line 140 of file regexp-stack.h.

friend class RegExpStackScope
friend

Definition at line 141 of file regexp-stack.h.

Field Documentation

const int kStackLimitSlack = 32
static

Definition at line 63 of file regexp-stack.h.

Referenced by RegExpStack::EnsureCapacity().


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