diff options
author | Stepan Dyatkovskiy <stpworld@narod.ru> | 2012-03-11 06:09:17 +0000 |
---|---|---|
committer | Stepan Dyatkovskiy <stpworld@narod.ru> | 2012-03-11 06:09:17 +0000 |
commit | 97b02fc1b3d27e0d86cb1203aff77a3104f1a793 (patch) | |
tree | 15178ecabb9dd7ac643776849a3e1f226afeff0d /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | |
parent | fdd417fceed5acd610af14c3fc0621e3c9e1b1b9 (diff) | |
download | bcm5719-llvm-97b02fc1b3d27e0d86cb1203aff77a3104f1a793.tar.gz bcm5719-llvm-97b02fc1b3d27e0d86cb1203aff77a3104f1a793.zip |
llvm::SwitchInst
Renamed methods caseBegin, caseEnd and caseDefault with case_begin, case_end, and case_default.
Added some notes relative to case iterators.
llvm-svn: 152532
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp index b8fd8d6e1f0..3a79e36dc2e 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp @@ -2411,7 +2411,7 @@ size_t SelectionDAGBuilder::Clusterify(CaseVector& Cases, BranchProbabilityInfo *BPI = FuncInfo.BPI; // Start with "simple" cases - for (SwitchInst::ConstCaseIt i = SI.caseBegin(), e = SI.caseEnd(); + for (SwitchInst::ConstCaseIt i = SI.case_begin(), e = SI.case_end(); i != e; ++i) { const BasicBlock *SuccBB = i.getCaseSuccessor(); MachineBasicBlock *SMBB = FuncInfo.MBBMap[SuccBB]; |