Index: src/runtime/runtime-regexp.cc |
diff --git a/src/runtime/runtime-regexp.cc b/src/runtime/runtime-regexp.cc |
index 8a806905b41882885d5c08a65647af3cddb3ce34..0a9f1054dc5e48ff00fe53773f9ae4fbfeb9f21d 100644 |
--- a/src/runtime/runtime-regexp.cc |
+++ b/src/runtime/runtime-regexp.cc |
@@ -381,7 +381,7 @@ void FindStringIndicesDispatch(Isolate* isolate, String* subject, |
} |
namespace { |
-List<int>* GetRewindedRegexpIndicesList(Isolate* isolate) { |
+List<int>* GetRewoundRegexpIndicesList(Isolate* isolate) { |
List<int>* list = isolate->regexp_indices(); |
list->Rewind(0); |
return list; |
@@ -404,7 +404,7 @@ MUST_USE_RESULT static Object* StringReplaceGlobalAtomRegExpWithString( |
DCHECK(subject->IsFlat()); |
DCHECK(replacement->IsFlat()); |
- List<int>* indices = GetRewindedRegexpIndicesList(isolate); |
+ List<int>* indices = GetRewoundRegexpIndicesList(isolate); |
DCHECK_EQ(JSRegExp::ATOM, pattern_regexp->TypeTag()); |
String* pattern = |
@@ -721,7 +721,7 @@ RUNTIME_FUNCTION(Runtime_StringSplit) { |
subject = String::Flatten(subject); |
pattern = String::Flatten(pattern); |
- List<int>* indices = GetRewindedRegexpIndicesList(isolate); |
+ List<int>* indices = GetRewoundRegexpIndicesList(isolate); |
FindStringIndicesDispatch(isolate, *subject, *pattern, indices, limit); |