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

Unified Diff: src/runtime.h

Issue 6533: * Added simplified Boyer-Moore-Horspool text search. (Closed)
Patch Set: Included comments from review Created 12 years, 2 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 | « src/jsregexp.cc ('k') | src/runtime.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/runtime.h
diff --git a/src/runtime.h b/src/runtime.h
index 23b4b1709f85e787a44a696fca8406f6c16adff6..820924d30235f999d91882d2a6d7c9e7e4b2020e 100644
--- a/src/runtime.h
+++ b/src/runtime.h
@@ -332,7 +332,7 @@ class Runtime : public AllStatic {
// Get the runtime function with the given name.
static Function* FunctionForName(const char* name);
- static int StringMatchKmp(Handle<String> sub, Handle<String> pat, int index);
+ static int StringMatch(Handle<String> sub, Handle<String> pat, int index);
// TODO(1240886): The following three methods are *not* handle safe,
// but accept handle arguments. This seems fragile.
« no previous file with comments | « src/jsregexp.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698