Index: src/ia32/code-stubs-ia32.cc |
diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc |
index 80b0f22ba4f94778a29630d861f12b125ffeb043..140db8a71889ffcfc9e57ce7b472248ec9d94a52 100644 |
--- a/src/ia32/code-stubs-ia32.cc |
+++ b/src/ia32/code-stubs-ia32.cc |
@@ -3748,7 +3748,7 @@ void RegExpExecStub::Generate(MacroAssembler* masm) { |
STATIC_ASSERT(kSmiTagSize + kSmiShiftSize == 1); |
__ add(edx, Immediate(2)); // edx was a smi. |
// Check that the static offsets vector buffer is large enough. |
- __ cmp(edx, OffsetsVector::kStaticOffsetsVectorSize); |
+ __ cmp(edx, Isolate::kJSRegexpStaticOffsetsVectorSize); |
__ j(above, &runtime); |
// ecx: RegExp data (FixedArray) |