v8
3.14.5(node0.10.28)
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 2904 of file heap.cc.
References Smi::FromInt(), RegExpResultsCache::kRegExpResultsCacheSize, and FixedArray::set().
|
static |
Definition at line 2847 of file heap.cc.
References ASSERT, String::cast(), Smi::FromInt(), FixedArray::get(), String::Hash(), RegExpResultsCache::kRegExpResultsCacheSize, FixedArrayBase::length(), Heap::LookupSymbol(), 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 2814 of file heap.cc.
References ASSERT, Smi::FromInt(), FixedArray::get(), String::Hash(), RegExpResultsCache::kRegExpResultsCacheSize, RegExpResultsCache::REGEXP_MULTIPLE_INDICES, and RegExpResultsCache::STRING_SPLIT_SUBSTRINGS.
Referenced by v8::internal::RUNTIME_FUNCTION().
|
static |
Definition at line 2627 of file heap.h.
Referenced by RegExpResultsCache::Clear(), RegExpResultsCache::Enter(), and RegExpResultsCache::Lookup().