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

Unified Diff: src/builtins/builtins-regexp.cc

Issue 2744173002: [csa] Remove context inputs from StrictEqual, SameValue and Typeof. (Closed)
Patch Set: Created 3 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 | « src/builtins/builtins-promise.cc ('k') | src/code-stub-assembler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/builtins/builtins-regexp.cc
diff --git a/src/builtins/builtins-regexp.cc b/src/builtins/builtins-regexp.cc
index 93cb55899b449f95cecd87cde850d823a1551bbc..baf163fd456e07699eda1d3ec7e0fab54a1155fd 100644
--- a/src/builtins/builtins-regexp.cc
+++ b/src/builtins/builtins-regexp.cc
@@ -1723,7 +1723,7 @@ void RegExpBuiltinsAssembler::RegExpPrototypeSearchBodySlow(
// Ensure last index is 0.
{
Label next(this);
- GotoIf(SameValue(previous_last_index, smi_zero, context), &next);
+ GotoIf(SameValue(previous_last_index, smi_zero), &next);
SlowStoreLastIndex(context, regexp, smi_zero);
Goto(&next);
@@ -1738,7 +1738,7 @@ void RegExpBuiltinsAssembler::RegExpPrototypeSearchBodySlow(
Label next(this);
Node* const current_last_index = SlowLoadLastIndex(context, regexp);
- GotoIf(SameValue(current_last_index, previous_last_index, context), &next);
+ GotoIf(SameValue(current_last_index, previous_last_index), &next);
SlowStoreLastIndex(context, regexp, previous_last_index);
Goto(&next);
« no previous file with comments | « src/builtins/builtins-promise.cc ('k') | src/code-stub-assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698