Changed per review comment.

llvm-svn: 37355
This commit is contained in:
Dale Johannesen 2007-05-30 00:32:01 +00:00
parent a69ebdbebc
commit d14ad078c6
1 changed files with 2 additions and 3 deletions

View File

@ -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)