| Index: src/jsregexp.cc
|
| diff --git a/src/jsregexp.cc b/src/jsregexp.cc
|
| index 7e40d7b0954bb543be32ebc8b3a57648686ae39b..40241e6fdfa529a7378217a620192b7445751264 100644
|
| --- a/src/jsregexp.cc
|
| +++ b/src/jsregexp.cc
|
| @@ -417,7 +417,6 @@ Handle<Object> RegExpImpl::IrregexpExec(Handle<JSRegExp> jsregexp,
|
| last_match_info->EnsureSize(number_of_capture_registers + kLastMatchOverhead);
|
|
|
| int* offsets_vector = offsets.vector();
|
| - int offsets_vector_length = offsets.length();
|
| bool rc;
|
|
|
| // Dispatch to the correct RegExp implementation.
|
| @@ -438,7 +437,7 @@ Handle<Object> RegExpImpl::IrregexpExec(Handle<JSRegExp> jsregexp,
|
| res = RegExpMacroAssemblerIA32::Match(code,
|
| subject,
|
| offsets_vector,
|
| - offsets_vector_length,
|
| + offsets.length(),
|
| previous_index);
|
| // If result is RETRY, the string have changed representation, and we
|
| // must restart from scratch.
|
|
|