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