Author: [email protected]
Date: Wed Mar 25 05:37:49 2009
New Revision: 1610

Modified:
    branches/bleeding_edge/src/jsregexp.cc

Log:
Move reference to variable that isn't used on ARM.


Modified: branches/bleeding_edge/src/jsregexp.cc
==============================================================================
--- branches/bleeding_edge/src/jsregexp.cc      (original)
+++ branches/bleeding_edge/src/jsregexp.cc      Wed Mar 25 05:37:49 2009
@@ -417,7 +417,6 @@
    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 @@
        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.

--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to