diff options
author | sebmarchand <sebmarchand@chromium.org> | 2015-08-11 12:25:40 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-11 19:26:52 +0000 |
commit | f61492754fc9ce2234ed05f34483e1f60498f155 (patch) | |
tree | f5754085f27b1bd6f6966032706571d0f8a81358 /courgette/disassembler_win32_x64.cc | |
parent | a7fc1264e00391787a5c473255c39d4bfbd4bc90 (diff) | |
download | chromium_src-f61492754fc9ce2234ed05f34483e1f60498f155.zip chromium_src-f61492754fc9ce2234ed05f34483e1f60498f155.tar.gz chromium_src-f61492754fc9ce2234ed05f34483e1f60498f155.tar.bz2 |
Courgette: Remove 2 duplicates calls to std::sort.
There's already a call to std::sort at the end of ParseRelocs. It's a small improvement, but it's still better than nothing :)
BUG=
Review URL: https://codereview.chromium.org/1284733002
Cr-Commit-Position: refs/heads/master@{#342865}
Diffstat (limited to 'courgette/disassembler_win32_x64.cc')
-rw-r--r-- | courgette/disassembler_win32_x64.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/courgette/disassembler_win32_x64.cc b/courgette/disassembler_win32_x64.cc index 6f35ca5..58e787b 100644 --- a/courgette/disassembler_win32_x64.cc +++ b/courgette/disassembler_win32_x64.cc @@ -372,8 +372,6 @@ bool DisassemblerWin32X64::ParseAbs32Relocs() { if (!ParseRelocs(&abs32_locations_)) return false; - std::sort(abs32_locations_.begin(), abs32_locations_.end()); - #if COURGETTE_HISTOGRAM_TARGETS for (size_t i = 0; i < abs32_locations_.size(); ++i) { RVA rva = abs32_locations_[i]; |