mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-17 04:24:00 +00:00
llvm::SwitchInst
Renamed methods caseBegin, caseEnd and caseDefault with case_begin, case_end, and case_default. Added some notes relative to case iterators. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152532 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -320,11 +320,11 @@ class FunctionDifferenceEngine {
|
||||
|
||||
DenseMap<ConstantInt*,BasicBlock*> LCases;
|
||||
|
||||
for (SwitchInst::CaseIt I = LI->caseBegin(), E = LI->caseEnd();
|
||||
for (SwitchInst::CaseIt I = LI->case_begin(), E = LI->case_end();
|
||||
I != E; ++I)
|
||||
LCases[I.getCaseValue()] = I.getCaseSuccessor();
|
||||
|
||||
for (SwitchInst::CaseIt I = RI->caseBegin(), E = RI->caseEnd();
|
||||
for (SwitchInst::CaseIt I = RI->case_begin(), E = RI->case_end();
|
||||
I != E; ++I) {
|
||||
ConstantInt *CaseValue = I.getCaseValue();
|
||||
BasicBlock *LCase = LCases[CaseValue];
|
||||
|
Reference in New Issue
Block a user