Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(905)

Unified Diff: src/objects.cc

Issue 2307853002: [regexp] Port RegExpExec (Closed)
Patch Set: Remove unused function Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/js/regexp.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « src/js/regexp.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698