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

#include <heap.h>

Public Member Functions

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

Static Public Attributes

static const int kAbsent = -2
 

Friends

class Isolate
 

Detailed Description

Definition at line 2807 of file heap.h.

Member Function Documentation

void Clear ( )

Definition at line 7674 of file heap.cc.

References v8::internal::NULL.

int Lookup ( Map source,
Name name 
)
inline

Definition at line 2811 of file heap.h.

References DescriptorLookupCache::kAbsent.

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

Definition at line 2820 of file heap.h.

References ASSERT, DescriptorLookupCache::kAbsent, and v8::internal::name.

Friends And Related Function Documentation

friend class Isolate
friend

Definition at line 2865 of file heap.h.

Field Documentation

const int kAbsent = -2
static

Definition at line 2834 of file heap.h.

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


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