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

#include <heap.h>

Public Member Functions

int Lookup (Map *source, String *name)
 
void Update (Map *source, String *name, int result)
 
void Clear ()
 

Static Public Attributes

static const int kAbsent = -2
 

Friends

class Isolate
 

Detailed Description

Definition at line 2398 of file heap.h.

Member Function Documentation

void Clear ( )

Definition at line 7146 of file heap.cc.

References v8::internal::NULL.

int Lookup ( Map source,
String name 
)
inline

Definition at line 2402 of file heap.h.

References DescriptorLookupCache::kAbsent.

void Update ( Map source,
String name,
int  result 
)
inline

Definition at line 2411 of file heap.h.

References ASSERT, and DescriptorLookupCache::kAbsent.

Friends And Related Function Documentation

friend class Isolate
friend

Definition at line 2456 of file heap.h.

Field Documentation

const int kAbsent = -2
static

Definition at line 2425 of file heap.h.

Referenced by DescriptorLookupCache::Lookup(), and DescriptorLookupCache::Update().


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