summaryrefslogtreecommitdiff
path: root/deps/v8/src/list-inl.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/list-inl.h')
-rw-r--r--deps/v8/src/list-inl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/v8/src/list-inl.h b/deps/v8/src/list-inl.h
index 408859e456..d815a7e227 100644
--- a/deps/v8/src/list-inl.h
+++ b/deps/v8/src/list-inl.h
@@ -216,7 +216,7 @@ void List<T, P>::Sort(int (*cmp)(const T* x, const T* y)) {
template<typename T, class P>
void List<T, P>::Sort() {
- Sort(PointerValueCompare<T>);
+ ToVector().Sort();
}