Index: src/heap/heap.h |
diff --git a/src/heap/heap.h b/src/heap/heap.h |
index 415e7d0c5ee569ea458263beb294efc1245cead9..33cb0498f3a174c4fc6e0a2da2c303fddc0ce321 100644 |
--- a/src/heap/heap.h |
+++ b/src/heap/heap.h |
@@ -2643,30 +2643,6 @@ class DescriptorLookupCache { |
}; |
-class RegExpResultsCache { |
- public: |
- enum ResultsCacheType { REGEXP_MULTIPLE_INDICES, STRING_SPLIT_SUBSTRINGS }; |
- |
- // Attempt to retrieve a cached result. On failure, 0 is returned as a Smi. |
- // On success, the returned result is guaranteed to be a COW-array. |
- static Object* Lookup(Heap* heap, String* key_string, Object* key_pattern, |
- ResultsCacheType type); |
- // Attempt to add value_array to the cache specified by type. On success, |
- // value_array is turned into a COW-array. |
- 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 const int kRegExpResultsCacheSize = 0x100; |
- |
- private: |
- static const int kArrayEntriesPerCacheEntry = 4; |
- static const int kStringOffset = 0; |
- static const int kPatternOffset = 1; |
- static const int kArrayOffset = 2; |
-}; |
- |
- |
// Abstract base class for checking whether a weak object should be retained. |
class WeakObjectRetainer { |
public: |