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

Unified Diff: src/js/harmony-unicode-regexps.js

Issue 1836123002: Add fast paths for native RegExps in ES2015 subclass-aware code (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 9 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 | « no previous file | src/js/regexp.js » ('j') | src/js/regexp.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/js/harmony-unicode-regexps.js
diff --git a/src/js/harmony-unicode-regexps.js b/src/js/harmony-unicode-regexps.js
index b24bbdf2c545975c7455588ebc5df7c902139716..fcee6581d73a7f24fdb22756c47ec26eadbd7ecf 100644
--- a/src/js/harmony-unicode-regexps.js
+++ b/src/js/harmony-unicode-regexps.js
@@ -33,8 +33,7 @@ function RegExpGetUnicode() {
}
return !!REGEXP_UNICODE(this);
Dan Ehrenberg 2016/03/28 22:56:09 While making a change here, maybe change to TO_BOO
adamk 2016/03/28 23:14:37 Done.
}
-%FunctionSetName(RegExpGetUnicode, "RegExp.prototype.unicode");
-%SetNativeFlag(RegExpGetUnicode);
+%SetForceInlineFlag(RegExpGetUnicode);
utils.InstallGetter(GlobalRegExp.prototype, 'unicode', RegExpGetUnicode);
« no previous file with comments | « no previous file | src/js/regexp.js » ('j') | src/js/regexp.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698