Index: src/arm/code-stubs-arm.cc |
diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc |
index a4cad52b6d7bad3f7294e63defd2ee3521283040..851c5579f67f41d8de76186bf01940e29259a089 100644 |
--- a/src/arm/code-stubs-arm.cc |
+++ b/src/arm/code-stubs-arm.cc |
@@ -4777,7 +4777,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 |