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

Unified Diff: src/list.h

Issue 1204013003: Revert of Extend big-disjunction optimization to case-independent regexps (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 6 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/list-inl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/list.h
diff --git a/src/list.h b/src/list.h
index b636449c423b9d9ea7a184de78a3580a49c5780e..00cbd40312025ad8ba2fcc40a1f17b2a8409cd22 100644
--- a/src/list.h
+++ b/src/list.h
@@ -149,15 +149,12 @@
void Iterate(Visitor* visitor);
// Sort all list entries (using QuickSort)
- template <typename CompareFunction>
- void Sort(CompareFunction cmp, size_t start, size_t length);
- template <typename CompareFunction>
- void Sort(CompareFunction cmp);
+ void Sort(int (*cmp)(const T* x, const T* y), size_t start, size_t length);
+ void Sort(int (*cmp)(const T* x, const T* y));
void Sort();
- template <typename CompareFunction>
- void StableSort(CompareFunction cmp, size_t start, size_t length);
- template <typename CompareFunction>
- void StableSort(CompareFunction cmp);
+ void StableSort(int (*cmp)(const T* x, const T* y), size_t start,
+ size_t length);
+ void StableSort(int (*cmp)(const T* x, const T* y));
void StableSort();
INLINE(void Initialize(int capacity,
« no previous file with comments | « src/jsregexp.cc ('k') | src/list-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698