Index: src/x64/code-stubs-x64.cc |
diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc |
index 832616e876b337022090211dfb3a1d2a61e6733e..3fa93b298372a56f1f54c7d70d30298ba4a95e49 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) |