Author: [email protected]
Date: Thu Mar 19 02:12:24 2009
New Revision: 1543

Modified:
    branches/bleeding_edge/src/runtime.cc

Log:
Spolling.
Review URL: http://codereview.chromium.org/42327

Modified: branches/bleeding_edge/src/runtime.cc
==============================================================================
--- branches/bleeding_edge/src/runtime.cc       (original)
+++ branches/bleeding_edge/src/runtime.cc       Thu Mar 19 02:12:24 2009
@@ -1780,10 +1780,10 @@
  // Uses only the bad-shift table of Boyer-Moore and only uses it
  // for the character compared to the last character of the needle.
  template <typename schar, typename pchar>
-static int BoyerMooreHorsepool(Vector<const schar> subject,
-                               Vector<const pchar> pattern,
-                               int start_index,
-                               bool* complete) {
+static int BoyerMooreHorspool(Vector<const schar> subject,
+                              Vector<const pchar> pattern,
+                              int start_index,
+                              bool* complete) {
    int n = subject.length();
    int m = pattern.length();
    // Only preprocess at most kBMMaxShift last characters of pattern.
@@ -1983,7 +1983,7 @@
    bool complete;
    int idx = SimpleIndexOf(sub, pat, start_index, &complete);
    if (complete) return idx;
-  idx = BoyerMooreHorsepool(sub, pat, idx, &complete);
+  idx = BoyerMooreHorspool(sub, pat, idx, &complete);
    if (complete) return idx;
    return BoyerMooreIndexOf(sub, pat, idx);
  }

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

Reply via email to