| 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);
|
|
|