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

#include <scopeinfo.h>

Public Member Functions

int Lookup (Object *data, String *name, VariableMode *mode, InitializationFlag *init_flag)
 
void Update (Object *data, String *name, VariableMode mode, InitializationFlag init_flag, int slot_index)
 
void Clear ()
 

Static Public Attributes

static const int kNotFound = -2
 

Friends

class Isolate
 

Detailed Description

Definition at line 42 of file scopeinfo.h.

Member Function Documentation

void Clear ( )

Definition at line 435 of file scopeinfo.cc.

References v8::internal::NULL.

int Lookup ( Object data,
String name,
VariableMode mode,
InitializationFlag init_flag 
)

Definition at line 398 of file scopeinfo.cc.

References ContextSlotCache::kNotFound, and v8::internal::NULL.

Referenced by ScopeInfo::ContextSlotIndex().

void Update ( Object data,
String name,
VariableMode  mode,
InitializationFlag  init_flag,
int  slot_index 
)

Definition at line 414 of file scopeinfo.cc.

References ASSERT, HEAP, and ContextSlotCache::kNotFound.

Referenced by ScopeInfo::ContextSlotIndex().

Friends And Related Function Documentation

friend class Isolate
friend

Definition at line 128 of file scopeinfo.h.

Field Documentation

const int kNotFound = -2
static

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