projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95ef406
)
Changed per review comment.
author
Dale Johannesen
<dalej@apple.com>
Wed, 30 May 2007 00:32:01 +0000
(
00:32
+0000)
committer
Dale Johannesen
<dalej@apple.com>
Wed, 30 May 2007 00:32:01 +0000
(
00:32
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37355
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/BranchFolding.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/BranchFolding.cpp
b/lib/CodeGen/BranchFolding.cpp
index c34aeebe0ee07c5cc300e0bf0d854da87cf3cb63..9d8bada4baf2509f7cb25adc69d7afb1fe91c7d6 100644
(file)
--- a/
lib/CodeGen/BranchFolding.cpp
+++ b/
lib/CodeGen/BranchFolding.cpp
@@
-420,9
+420,8
@@
static void FixTail(MachineBasicBlock* CurMBB, MachineBasicBlock *SuccBB,
TII->InsertBranch(*CurMBB, SuccBB, NULL, std::vector<MachineOperand>());
}
-static bool MergeCompare(std::pair<unsigned,MachineBasicBlock*> p,
- std::pair<unsigned,MachineBasicBlock*> q) {
-
+static bool MergeCompare(const std::pair<unsigned,MachineBasicBlock*> &p,
+ const std::pair<unsigned,MachineBasicBlock*> &q) {
if (p.first < q.first)
return true;
else if (p.first > q.first)