Changes in directory llvm/lib/CodeGen:

BranchFolding.cpp updated: 1.59 -> 1.60
---
Log message:

Changed per review comment.


---
Diffs of the changes:  (+2 -3)

 BranchFolding.cpp |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)


Index: llvm/lib/CodeGen/BranchFolding.cpp
diff -u llvm/lib/CodeGen/BranchFolding.cpp:1.59 
llvm/lib/CodeGen/BranchFolding.cpp:1.60
--- llvm/lib/CodeGen/BranchFolding.cpp:1.59     Tue May 29 18:47:50 2007
+++ llvm/lib/CodeGen/BranchFolding.cpp  Tue May 29 19:32:01 2007
@@ -420,9 +420,8 @@
   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)



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to