Index: src/isolate.h |
diff --git a/src/isolate.h b/src/isolate.h |
index 61a064118099c85f2cf1f01113b9891aa51405de..38083c214b570e49eaa956b771c0acdf48972199 100644 |
--- a/src/isolate.h |
+++ b/src/isolate.h |
@@ -885,7 +885,6 @@ class Isolate { |
DCHECK(handle_scope_implementer_); |
return handle_scope_implementer_; |
} |
- Zone* runtime_zone() { return runtime_zone_; } |
UnicodeCache* unicode_cache() { |
return unicode_cache_; |
@@ -926,6 +925,11 @@ class Isolate { |
RegExpStack* regexp_stack() { return regexp_stack_; } |
+ // Same size as a zone segment, preserving behavior from the runtime zone. |
+ static const size_t kMaxRegexpIndicesSize = 8 * KB; |
+ |
+ List<int>* regexp_indices() { return ®exp_indices_; } |
+ |
unibrow::Mapping<unibrow::Ecma262Canonicalize>* |
interp_canonicalize_mapping() { |
return ®exp_macro_assembler_canonicalize_; |
@@ -1325,7 +1329,6 @@ class Isolate { |
HandleScopeImplementer* handle_scope_implementer_; |
UnicodeCache* unicode_cache_; |
AccountingAllocator* allocator_; |
- Zone* runtime_zone_; |
InnerPointerToCodeCache* inner_pointer_to_code_cache_; |
GlobalHandles* global_handles_; |
EternalHandles* eternal_handles_; |
@@ -1338,6 +1341,7 @@ class Isolate { |
unibrow::Mapping<unibrow::Ecma262Canonicalize> |
regexp_macro_assembler_canonicalize_; |
RegExpStack* regexp_stack_; |
+ List<int> regexp_indices_; |
DateCache* date_cache_; |
CallInterfaceDescriptorData* call_descriptor_data_; |
base::RandomNumberGenerator* random_number_generator_; |