diff options
| author | Dan Gohman <gohman@apple.com> | 2009-11-10 01:36:20 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2009-11-10 01:36:20 +0000 |
| commit | 48079d4bf579539ca8a5ade6ad25c6478efec6d0 (patch) | |
| tree | f008dd078f625ace5a37a1db47ad89057de8e5ec /llvm/lib | |
| parent | 0d401124d12247d042367c6d577789fe29065934 (diff) | |
| download | bcm5719-llvm-48079d4bf579539ca8a5ade6ad25c6478efec6d0.tar.gz bcm5719-llvm-48079d4bf579539ca8a5ade6ad25c6478efec6d0.zip | |
Minor code simplification.
llvm-svn: 86641
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/CodeGen/BranchFolding.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/BranchFolding.cpp b/llvm/lib/CodeGen/BranchFolding.cpp index baea9642d4f..b094eefb302 100644 --- a/llvm/lib/CodeGen/BranchFolding.cpp +++ b/llvm/lib/CodeGen/BranchFolding.cpp @@ -600,7 +600,7 @@ bool BranchFolder::TryMergeBlocks(MachineBasicBlock *SuccBB, // Walk through equivalence sets looking for actual exact matches. while (MergePotentials.size() > 1) { - unsigned CurHash = prior(MergePotentials.end())->first; + unsigned CurHash = MergePotentials.back().first; // Build SameTails, identifying the set of blocks with this hash code // and with the maximum number of instructions in common. |

