Index: src/regexp/regexp-utils.cc |
diff --git a/src/regexp/regexp-utils.cc b/src/regexp/regexp-utils.cc |
index 7309afa12176109e45b86cbcf5061544684478d8..62daf3f1d518b5e024aa3e043b4703dc169b17c8 100644 |
--- a/src/regexp/regexp-utils.cc |
+++ b/src/regexp/regexp-utils.cc |
@@ -72,9 +72,7 @@ MaybeHandle<Object> RegExpUtils::RegExpExec(Isolate* isolate, |
if (exec->IsUndefined(isolate)) { |
ASSIGN_RETURN_ON_EXCEPTION( |
isolate, exec, |
- Object::GetProperty( |
- regexp, isolate->factory()->NewStringFromAsciiChecked("exec")), |
- Object); |
+ Object::GetProperty(regexp, isolate->factory()->exec_string()), Object); |
} |
if (exec->IsCallable()) { |