Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(145)

Unified Diff: src/regexp/regexp-utils.h

Issue 2438283002: Revert of [regexp] Use consistent map checks for fast paths (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/builtins/builtins-regexp.cc ('k') | src/regexp/regexp-utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 )
« no previous file with comments | « src/builtins/builtins-regexp.cc ('k') | src/regexp/regexp-utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698