|
V8 Project
|
#include <heap.h>
Collaboration diagram for v8::internal::RegExpResultsCache: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 (Isolate *isolate, Handle< String > key_string, Handle< Object > key_pattern, Handle< FixedArray > value_array, ResultsCacheType type) |
| static void | Clear (FixedArray *cache) |
Static Public Attributes | |
| static const int | kRegExpResultsCacheSize = 0x100 |
Static Private Attributes | |
| static const int | kArrayEntriesPerCacheEntry = 4 |
| static const int | kStringOffset = 0 |
| static const int | kPatternOffset = 1 |
| static const int | kArrayOffset = 2 |
| Enumerator | |
|---|---|
| REGEXP_MULTIPLE_INDICES | |
| STRING_SPLIT_SUBSTRINGS | |
Definition at line 2368 of file heap.h.
|
static |
Definition at line 3031 of file heap.cc.
References v8::internal::Smi::FromInt(), kRegExpResultsCacheSize, and v8::internal::FixedArray::set().
Referenced by v8::internal::Heap::MarkCompactPrologue().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 2977 of file heap.cc.
References DCHECK, v8::internal::Isolate::factory(), v8::internal::Smi::FromInt(), kArrayEntriesPerCacheEntry, kArrayOffset, kPatternOffset, kRegExpResultsCacheSize, kStringOffset, REGEXP_MULTIPLE_INDICES, and STRING_SPLIT_SUBSTRINGS.
Referenced by v8::internal::RUNTIME_FUNCTION(), and v8::internal::SearchRegExpMultiple().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 2946 of file heap.cc.
References DCHECK, v8::internal::Smi::FromInt(), v8::internal::FixedArray::get(), v8::internal::Name::Hash(), kArrayEntriesPerCacheEntry, kArrayOffset, kPatternOffset, kRegExpResultsCacheSize, kStringOffset, REGEXP_MULTIPLE_INDICES, and STRING_SPLIT_SUBSTRINGS.
Referenced by v8::internal::RUNTIME_FUNCTION(), and v8::internal::SearchRegExpMultiple().
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
static |
|
staticprivate |