Replace qsort with std::sort.
authordanno@chromium.org <danno@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 24 Apr 2013 11:20:16 +0000 (11:20 +0000)
committerdanno@chromium.org <danno@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 24 Apr 2013 11:20:16 +0000 (11:20 +0000)
commita0aed63bbb479ae933d7098336e0d7ef09f58e3f
tree7c16996fc9eee18ef12a5f15a2adaa2d0f98dcaf
parent5c0a2c739c74ab341676aa29adc86df0ce2b0f04
Replace qsort with std::sort.

std::sort is a template, so it can be inlined more aggressively. Also, it's
O(n log n), while libc's qsort is O(n^2)

BUG=2639

Review URL: https://codereview.chromium.org/14315005

Patch from Jochen Eisinger <jochen@chromium.org>.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14406 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/d8.cc
src/hydrogen.cc
src/list-inl.h
src/store-buffer.cc
src/store-buffer.h
src/utils.h