Commit f05c09dd authored by Franziska Hinkelmann's avatar Franziska Hinkelmann Committed by Commit Bot

[cleanup] Delete unused function.

Also-by:ahaas@chromium.org
R:ahaas@chromium.org

Bug:v8:6325

Change-Id: If9212dc1d47789d0732b72b69532676907cb21ab
Reviewed-on: https://chromium-review.googlesource.com/490089Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
Commit-Queue: Franziska Hinkelmann <franzih@chromium.org>
Cr-Commit-Position: refs/heads/master@{#44978}
parent 1c542144
...@@ -280,13 +280,6 @@ class ElementCmp { ...@@ -280,13 +280,6 @@ class ElementCmp {
T elem_; T elem_;
}; };
template <typename T>
int SortedListBSearch(const List<T>& list, T elem) {
return SortedListBSearch<T, ElementCmp<T> > (list, ElementCmp<T>(elem));
}
} // namespace internal } // namespace internal
} // namespace v8 } // namespace v8
......
...@@ -224,8 +224,6 @@ typedef List<Handle<Code> > CodeHandleList; ...@@ -224,8 +224,6 @@ typedef List<Handle<Code> > CodeHandleList;
// being searched. // being searched.
template <typename T, class P> template <typename T, class P>
int SortedListBSearch(const List<T>& list, P cmp); int SortedListBSearch(const List<T>& list, P cmp);
template <typename T>
int SortedListBSearch(const List<T>& list, T elem);
} // namespace internal } // namespace internal
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment