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:
488d442
)
It's not necessary to recompute EB here.
author
Dan Gohman
<gohman@apple.com>
Wed, 14 Apr 2010 16:30:40 +0000
(16:30 +0000)
committer
Dan Gohman
<gohman@apple.com>
Wed, 14 Apr 2010 16:30:40 +0000
(16:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101251
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
b/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
index 4fb2aa299cbeaa4bf1460254d1ba7cc496e2d958..04c27e7c15f8d4fa696dcc817d3168dd183054ab 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
+++ b/
lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
@@
-196,7
+196,7
@@
void FunctionLoweringInfo::set(Function &fn, MachineFunction &mf,
// Create an initial MachineBasicBlock for each LLVM BasicBlock in F. This
// also creates the initial PHI MachineInstrs, though none of the input
// operands are populated.
- for (BB = Fn->begin()
, EB = Fn->end()
; BB != EB; ++BB) {
+ for (BB = Fn->begin(); BB != EB; ++BB) {
MachineBasicBlock *MBB = mf.CreateMachineBasicBlock(BB);
MBBMap[BB] = MBB;
MF->push_back(MBB);