Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index db4d9b5a0cb544bb43f51a088e57eb69eef520d7..ae96035f53839b2ec334ef432ae9635ef4506d3c 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -16392,7 +16392,7 @@ MaybeHandle<JSRegExp> JSRegExp::Initialize(Handle<JSRegExp> regexp, |
// Map has changed, so use generic, but slower, method. |
RETURN_ON_EXCEPTION( |
isolate, |
- JSReceiver::SetProperty(regexp, factory->last_index_string(), |
+ JSReceiver::SetProperty(regexp, factory->lastIndex_string(), |
Handle<Smi>(Smi::FromInt(0), isolate), STRICT), |
JSRegExp); |
} |