Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(745)

Unified Diff: src/jsregexp.cc

Issue 53048: Fix build problem on ARM. (Closed)
Patch Set: Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698