v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include <heap.h>
Public Member Functions | |
int | Lookup (Map *map, String *name) |
void | Update (Map *map, String *name, int field_offset) |
void | Clear () |
STATIC_ASSERT ((kEntriesPerBucket &(kEntriesPerBucket-1))==0) | |
STATIC_ASSERT (kEntriesPerBucket==-kHashMask) | |
Static Public Attributes | |
static const int | kLength = 256 |
static const int | kCapacityMask = kLength - 1 |
static const int | kMapHashShift = 5 |
static const int | kHashMask = -4 |
static const int | kEntriesPerBucket = 4 |
static const int | kNotFound = -1 |
Friends | |
class | ExternalReference |
class | Isolate |
void Clear | ( | ) |
Definition at line 7141 of file heap.cc.
References KeyedLookupCache::kLength, and v8::internal::NULL.
Definition at line 7095 of file heap.cc.
References KeyedLookupCache::kEntriesPerBucket, KeyedLookupCache::kHashMask, and KeyedLookupCache::kNotFound.
Referenced by v8::internal::RUNTIME_FUNCTION().
STATIC_ASSERT | ( | (kEntriesPerBucket &(kEntriesPerBucket-1)) | = =0 | ) |
STATIC_ASSERT | ( | kEntriesPerBucket | = =-kHashMask | ) |
Definition at line 7107 of file heap.cc.
References HEAP, KeyedLookupCache::kEntriesPerBucket, KeyedLookupCache::kHashMask, and v8::internal::NULL.
Referenced by v8::internal::RUNTIME_FUNCTION().
|
static |
Definition at line 2352 of file heap.h.
Referenced by KeyedLookupCache::Lookup(), and KeyedLookupCache::Update().
|
static |
Definition at line 2351 of file heap.h.
Referenced by KeyedLookupCache::Lookup(), and KeyedLookupCache::Update().
|
static |
Definition at line 2348 of file heap.h.
Referenced by KeyedLookupCache::Clear().
|
static |
Definition at line 2353 of file heap.h.
Referenced by KeyedLookupCache::Lookup().