[llvm-commits] [llvm] r55192 - /llvm/trunk/lib/CodeGen/SelectionDAG/FastISel.cpp
Dan Gohman
gohman at apple.com
Fri Aug 22 12:26:10 PDT 2008
Author: djg
Date: Fri Aug 22 14:26:10 2008
New Revision: 55192
URL: http://llvm.org/viewvc/llvm-project?rev=55192&view=rev
Log:
Fix the InsertBranch call.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/FastISel.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/FastISel.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/FastISel.cpp?rev=55192&r1=55191&r2=55192&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/FastISel.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/FastISel.cpp Fri Aug 22 14:26:10 2008
@@ -207,8 +207,7 @@
// The unconditional fall-through case, which needs no instructions.
} else {
// The unconditional branch case.
- const SmallVector<MachineOperand, 0> NoCond(0);
- TII.InsertBranch(*MBB, MSucc, NULL, NoCond);
+ TII.InsertBranch(*MBB, MSucc, NULL, SmallVector<MachineOperand, 0>());
}
MBB->addSuccessor(MSucc);
break;
More information about the llvm-commits
mailing list