From 5ed3cbb753ac3cd1967d6e2d37b6985655607559 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 22 Aug 2008 19:26:10 +0000 Subject: [PATCH] Fix the InsertBranch call. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55192 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/SelectionDAG/FastISel.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; -- 2.34.1