Index: src/mips/code-stubs-mips.cc |
diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc |
index abc82a7c97989bea450941d78ada470bac4dfeb4..a5c80b8471c9f34dbc19916e2e3ba631876db076 100644 |
--- a/src/mips/code-stubs-mips.cc |
+++ b/src/mips/code-stubs-mips.cc |
@@ -4977,7 +4977,8 @@ void RegExpExecStub::Generate(MacroAssembler* masm) { |
STATIC_ASSERT(kSmiTagSize + kSmiShiftSize == 1); |
__ Addu(a2, a2, Operand(2)); // a2 was a smi. |
// Check that the static offsets vector buffer is large enough. |
- __ Branch(&runtime, hi, a2, Operand(OffsetsVector::kStaticOffsetsVectorSize)); |
+ __ Branch( |
+ &runtime, hi, a2, Operand(Isolate::kJSRegexpStaticOffsetsVectorSize)); |
// a2: Number of capture registers |
// regexp_data: RegExp data (FixedArray) |