projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0182ec
)
Fix the InsertBranch call.
author
Dan Gohman
<gohman@apple.com>
Fri, 22 Aug 2008 19:26:10 +0000
(19:26 +0000)
committer
Dan Gohman
<gohman@apple.com>
Fri, 22 Aug 2008 19:26:10 +0000
(19:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55192
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/FastISel.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/FastISel.cpp
b/lib/CodeGen/SelectionDAG/FastISel.cpp
index 74174519fb36f5e3dcbf253cd6003defe4e1df33..fb4de574a85f7db785ac05d5b21b1fef0d5aa2d6 100644
(file)
--- 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<MachineOperand, 0> NoCond(0);
- TII.InsertBranch(*MBB, MSucc, NULL, NoCond);
+ TII.InsertBranch(*MBB, MSucc, NULL, SmallVector<MachineOperand, 0>());
}
MBB->addSuccessor(MSucc);
break;