v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <heap.h>
Public Types | |
enum | ResultsCacheType { REGEXP_MULTIPLE_INDICES, STRING_SPLIT_SUBSTRINGS } |
Static Public Member Functions | |
static Object * | Lookup (Heap *heap, String *key_string, Object *key_pattern, ResultsCacheType type) |
static void | Enter (Heap *heap, String *key_string, Object *key_pattern, FixedArray *value_array, ResultsCacheType type) |
static void | Clear (FixedArray *cache) |
Static Public Attributes | |
static const int | kRegExpResultsCacheSize = 0x100 |
enum ResultsCacheType |
|
static |
Definition at line 3534 of file heap.cc.
References Smi::FromInt(), RegExpResultsCache::kRegExpResultsCacheSize, and FixedArray::set().
|
static |
Definition at line 3477 of file heap.cc.
References ASSERT, String::cast(), Smi::FromInt(), FixedArray::get(), Name::Hash(), Heap::InternalizeString(), RegExpResultsCache::kRegExpResultsCacheSize, FixedArrayBase::length(), RegExpResultsCache::REGEXP_MULTIPLE_INDICES, FixedArray::set(), HeapObject::set_map_no_write_barrier(), and RegExpResultsCache::STRING_SPLIT_SUBSTRINGS.
Referenced by v8::internal::RUNTIME_FUNCTION().
|
static |
Definition at line 3444 of file heap.cc.
References ASSERT, Smi::FromInt(), FixedArray::get(), Name::Hash(), RegExpResultsCache::kRegExpResultsCacheSize, RegExpResultsCache::REGEXP_MULTIPLE_INDICES, and RegExpResultsCache::STRING_SPLIT_SUBSTRINGS.
Referenced by v8::internal::RUNTIME_FUNCTION().
|
static |
Definition at line 3028 of file heap.h.
Referenced by RegExpResultsCache::Clear(), RegExpResultsCache::Enter(), and RegExpResultsCache::Lookup().