Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 927c6c7f46183a1e27932d206b3ddb53ca929edf..adebbac2f59bd3a016b026f6dc4d02dbf60ab376 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -1376,6 +1376,10 @@ class Object { |
Isolate* isolate, Handle<Object> object, uint32_t index, |
Handle<Object> value, LanguageMode language_mode); |
+ // ES#sec-isregexp IsRegExp ( argument ) |
+ // Includes checking of the mach property as per section 7.2.8 IsRegExp. |
+ static Maybe<bool> IsRegExp(Isolate* isolate, Handle<Object> object); |
+ |
// Returns the permanent hash code associated with this object. May return |
// undefined if not yet created. |
Object* GetHash(); |