V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::StubCache Class Reference

Classes

struct  Entry
 

Public Types

enum  Table { kPrimary, kSecondary }
 

Public Member Functions

void Initialize ()
 
void Set (Name name, Map map, MaybeObject handler)
 
MaybeObject Get (Name name, Map map)
 
void Clear ()
 
SCTableReference key_reference (StubCache::Table table)
 
SCTableReference map_reference (StubCache::Table table)
 
SCTableReference value_reference (StubCache::Table table)
 
StubCache::Entryfirst_entry (StubCache::Table table)
 
Isolateisolate ()
 
 StubCache (Isolate *isolate)
 

Static Public Member Functions

static int PrimaryOffsetForTesting (Name name, Map map)
 
static int SecondaryOffsetForTesting (Name name, int seed)
 

Static Public Attributes

static const int kCacheIndexShift = Name::kHashShift
 
static const int kPrimaryTableBits = 11
 
static const int kPrimaryTableSize = (1 << kPrimaryTableBits)
 
static const int kSecondaryTableBits = 9
 
static const int kSecondaryTableSize = (1 << kSecondaryTableBits)
 
static const int kSecondaryMagic = 0xb16ca6e5
 

Friends

class Isolate
 
class SCTableReference
 

Detailed Description

Definition at line 32 of file stub-cache.h.


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