| Index: src/x64/code-stubs-x64.cc
|
| diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc
|
| index d3d986437b245c6e8ab280a2ad8b81c978a1bdd4..b3620aaed50ce7427a65d81523dc40df92ea05d0 100644
|
| --- a/src/x64/code-stubs-x64.cc
|
| +++ b/src/x64/code-stubs-x64.cc
|
| @@ -2791,7 +2791,7 @@ void RegExpExecStub::Generate(MacroAssembler* masm) {
|
| // Calculate number of capture registers (number_of_captures + 1) * 2.
|
| __ leal(rdx, Operand(rdx, rdx, times_1, 2));
|
| // Check that the static offsets vector buffer is large enough.
|
| - __ cmpl(rdx, Immediate(OffsetsVector::kStaticOffsetsVectorSize));
|
| + __ cmpl(rdx, Immediate(Isolate::kJSRegexpStaticOffsetsVectorSize));
|
| __ j(above, &runtime);
|
|
|
| // rax: RegExp data (FixedArray)
|
|
|