Index: src/runtime/runtime-regexp.cc |
diff --git a/src/runtime/runtime-regexp.cc b/src/runtime/runtime-regexp.cc |
index 27e01ecb0cde56648b8eca4850da329286c4eeff..f6e1daf288cb54763a9209256ca84e56b646c9b6 100644 |
--- a/src/runtime/runtime-regexp.cc |
+++ b/src/runtime/runtime-regexp.cc |
@@ -381,15 +381,15 @@ void FindStringIndicesDispatch(Isolate* isolate, String* subject, |
} |
namespace { |
-static List<int>* GetRewindedRegexpIndicesList(Isolate* isolate) { |
+List<int>* GetRewindedRegexpIndicesList(Isolate* isolate) { |
List<int>* list = isolate->regexp_indices(); |
list->Rewind(0); |
return list; |
} |
-static void TruncateRegexpIndicesList(Isolate* isolate) { |
- // Same size as smallest zone segment, preserving behavior from the runtime |
- // zone. |
+void TruncateRegexpIndicesList(Isolate* isolate) { |
+ // Same size as smallest zone segment, preserving behavior from the |
+ // runtime zone. |
static const size_t kMaxRegexpIndicesListCapacity = 8 * KB; |
if (isolate->regexp_indices()->capacity() > kMaxRegexpIndicesListCapacity) { |
isolate->regexp_indices()->Clear(); // Throw away backing storage |