Index: src/mips/code-stubs-mips.cc |
diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc |
index 63e3b4454e4359dd7752a15b9159d9fed740e9b2..8f2d5cdacd24b879b212de6aa32e6b015d74ad20 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) |