From 04968da4604a146537f695aee1e88af4f9bc8097 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 22 Aug 2008 19:26:10 +0000 Subject: Fix the InsertBranch call. llvm-svn: 55192 --- llvm/lib/CodeGen/SelectionDAG/FastISel.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'llvm/lib/CodeGen/SelectionDAG/FastISel.cpp') diff --git a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp index 74174519fb3..fb4de574a85 100644 --- a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp +++ b/llvm/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; -- cgit v1.2.3