Index: src/arm/code-stubs-arm.cc |
diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc |
index 88178ffdc5b087abde2615b25a6f24b92ec5c553..d9e3a3da9f7b3085239edb12284e00725d66461e 100644 |
--- a/src/arm/code-stubs-arm.cc |
+++ b/src/arm/code-stubs-arm.cc |
@@ -4818,7 +4818,7 @@ void RegExpExecStub::Generate(MacroAssembler* masm) { |
STATIC_ASSERT(kSmiTagSize + kSmiShiftSize == 1); |
__ add(r2, r2, Operand(2)); // r2 was a smi. |
// Check that the static offsets vector buffer is large enough. |
- __ cmp(r2, Operand(OffsetsVector::kStaticOffsetsVectorSize)); |
+ __ cmp(r2, Operand(Isolate::kJSRegexpStaticOffsetsVectorSize)); |
__ b(hi, &runtime); |
// r2: Number of capture registers |