Index: src/regexp/regexp-utils.h |
diff --git a/src/regexp/regexp-utils.h b/src/regexp/regexp-utils.h |
index 8a5a099182183d2b72187910af846fe5dd8dc978..398e206a3f84cf71e9a686f3fd483ff26ef8e376 100644 |
--- a/src/regexp/regexp-utils.h |
+++ b/src/regexp/regexp-utils.h |
@@ -34,9 +34,8 @@ |
// Includes checking of the match property. |
static Maybe<bool> IsRegExp(Isolate* isolate, Handle<Object> object); |
- // 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); |
+ // Checks whether exec is identical to the initial RegExp.prototype.exec. |
+ static bool IsBuiltinExec(Handle<Object> exec); |
// ES#sec-advancestringindex |
// AdvanceStringIndex ( S, index, unicode ) |