| Index: src/regexp/regexp-utils.h
|
| diff --git a/src/regexp/regexp-utils.h b/src/regexp/regexp-utils.h
|
| index 398e206a3f84cf71e9a686f3fd483ff26ef8e376..8a5a099182183d2b72187910af846fe5dd8dc978 100644
|
| --- a/src/regexp/regexp-utils.h
|
| +++ b/src/regexp/regexp-utils.h
|
| @@ -34,8 +34,9 @@ class RegExpUtils : public AllStatic {
|
| // Includes checking of the match property.
|
| static Maybe<bool> IsRegExp(Isolate* isolate, Handle<Object> object);
|
|
|
| - // Checks whether exec is identical to the initial RegExp.prototype.exec.
|
| - static bool IsBuiltinExec(Handle<Object> exec);
|
| + // Checks whether the given object is an unmodified JSRegExp instance.
|
| + // Neither the object's map, nor its prototype's map may be modified.
|
| + static bool IsUnmodifiedRegExp(Isolate* isolate, Handle<Object> obj);
|
|
|
| // ES#sec-advancestringindex
|
| // AdvanceStringIndex ( S, index, unicode )
|
|
|