From: Dan Gohman Date: Fri, 22 Aug 2008 19:26:10 +0000 (+0000) Subject: Fix the InsertBranch call. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=5ed3cbb753ac3cd1967d6e2d37b6985655607559;p=oota-llvm.git Fix the InsertBranch call. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55192 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/SelectionDAG/FastISel.cpp b/lib/CodeGen/SelectionDAG/FastISel.cpp index 74174519fb3..fb4de574a85 100644 --- a/lib/CodeGen/SelectionDAG/FastISel.cpp +++ b/lib/CodeGen/SelectionDAG/FastISel.cpp @@ -207,8 +207,7 @@ FastISel::SelectInstructions(BasicBlock::iterator Begin, // The unconditional fall-through case, which needs no instructions. } else { // The unconditional branch case. - const SmallVector NoCond(0); - TII.InsertBranch(*MBB, MSucc, NULL, NoCond); + TII.InsertBranch(*MBB, MSucc, NULL, SmallVector()); } MBB->addSuccessor(MSucc); break;