| Index: src/builtins/builtins-regexp.cc
|
| diff --git a/src/builtins/builtins-regexp.cc b/src/builtins/builtins-regexp.cc
|
| index 6196f6d93a3139a8dab5164a0750aa8ed0fddc74..937efe5dfd594c27d96a422def5d81e7b948bc7a 100644
|
| --- a/src/builtins/builtins-regexp.cc
|
| +++ b/src/builtins/builtins-regexp.cc
|
| @@ -258,7 +258,7 @@ Node* RegExpBuiltinsAssembler::RegExpPrototypeExecBodyWithoutResult(
|
| // Omit ToLength if lastindex is a non-negative smi.
|
| {
|
| Label call_tolength(this, Label::kDeferred), next(this);
|
| - Branch(WordIsPositiveSmi(regexp_lastindex), &next, &call_tolength);
|
| + Branch(TaggedIsPositiveSmi(regexp_lastindex), &next, &call_tolength);
|
|
|
| Bind(&call_tolength);
|
| {
|
|
|