diff options
Diffstat (limited to 'deps/v8/src/regexp/regexp-utils.h')
-rw-r--r-- | deps/v8/src/regexp/regexp-utils.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/deps/v8/src/regexp/regexp-utils.h b/deps/v8/src/regexp/regexp-utils.h index 8fc6607d98..4e32bf10f4 100644 --- a/deps/v8/src/regexp/regexp-utils.h +++ b/deps/v8/src/regexp/regexp-utils.h @@ -36,7 +36,8 @@ class RegExpUtils : public AllStatic { 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. + // Neither the object's map, nor its prototype's map, nor any relevant + // method on the prototype may be modified. static bool IsUnmodifiedRegExp(Isolate* isolate, Handle<Object> obj); // ES#sec-advancestringindex |