![]() |
v8
3.11.10(node0.8.26)
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 7016 of file heap.cc.
References KeyedLookupCache::kLength, and v8::internal::NULL.
Definition at line 6970 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 6982 of file heap.cc.
References HEAP, KeyedLookupCache::kEntriesPerBucket, KeyedLookupCache::kHashMask, and v8::internal::NULL.
Referenced by v8::internal::RUNTIME_FUNCTION().
|
static |
Definition at line 2237 of file heap.h.
Referenced by KeyedLookupCache::Lookup(), and KeyedLookupCache::Update().
|
static |
Definition at line 2236 of file heap.h.
Referenced by KeyedLookupCache::Lookup(), and KeyedLookupCache::Update().
|
static |
Definition at line 2233 of file heap.h.
Referenced by KeyedLookupCache::Clear().
|
static |
Definition at line 2238 of file heap.h.
Referenced by KeyedLookupCache::Lookup().