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

Unified Diff: src/js/regexp.js

Issue 1692193002: [runtime] Remove obsolete %ObjectEquals runtime entry. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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/full-codegen/x87/full-codegen-x87.cc ('k') | src/runtime/runtime.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/js/regexp.js
diff --git a/src/js/regexp.js b/src/js/regexp.js
index 9f2a1688c8a25f47fbba8e3fca8eec87b292e112..0e9d3cb3d1d7333cb1cdfd822de7a27553d26889 100644
--- a/src/js/regexp.js
+++ b/src/js/regexp.js
@@ -257,7 +257,7 @@ function RegExpTest(string) {
}
function TrimRegExp(regexp) {
- if (!%_ObjectEquals(regexp_key, regexp)) {
+ if (regexp_key !== regexp) {
regexp_key = regexp;
regexp_val =
new GlobalRegExp(
« no previous file with comments | « src/full-codegen/x87/full-codegen-x87.cc ('k') | src/runtime/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698