v8  3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DescriptorLookupCache Class Reference

#include <heap.h>

Public Member Functions

int Lookup (DescriptorArray *array, String *name)
 
void Update (DescriptorArray *array, String *name, int result)
 
void Clear ()
 

Static Public Attributes

static const int kAbsent = -2
 

Friends

class Isolate
 

Detailed Description

Definition at line 2283 of file heap.h.

Member Function Documentation

void Clear ( )

Definition at line 7021 of file heap.cc.

References v8::internal::NULL.

int Lookup ( DescriptorArray array,
String name 
)
inline

Definition at line 2287 of file heap.h.

References DescriptorLookupCache::kAbsent.

Referenced by Map::LookupInDescriptors().

void Update ( DescriptorArray array,
String name,
int  result 
)
inline

Definition at line 2296 of file heap.h.

References ASSERT, and DescriptorLookupCache::kAbsent.

Referenced by Map::LookupInDescriptors().

Friends And Related Function Documentation

friend class Isolate
friend

Definition at line 2339 of file heap.h.

Field Documentation

const int kAbsent = -2
static

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