diff options
author | Stepan Dyatkovskiy <stpworld@narod.ru> | 2012-05-29 12:26:47 +0000 |
---|---|---|
committer | Stepan Dyatkovskiy <stpworld@narod.ru> | 2012-05-29 12:26:47 +0000 |
commit | 58107dd547a883927c9be9a92b8396a7700685d9 (patch) | |
tree | 3845bda77e342cee5ecbfcd9c0499fb92be5fd53 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 458b4006b2cfdc2364be92913b77ca6abc866899 (diff) | |
download | bcm5719-llvm-58107dd547a883927c9be9a92b8396a7700685d9.tar.gz bcm5719-llvm-58107dd547a883927c9be9a92b8396a7700685d9.zip |
ConstantRangesSet renamed to IntegersSubset. CRSBuilder renamed to IntegersSubsetMapping.
llvm-svn: 157612
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
-rw-r--r-- | llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp index d4549642909..7dd18c87ffe 100644 --- a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp +++ b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp @@ -1157,12 +1157,12 @@ static void WriteInstruction(const Instruction &I, unsigned InstID, Vals64.push_back(SI.getNumCases()); for (SwitchInst::CaseIt i = SI.case_begin(), e = SI.case_end(); i != e; ++i) { - ConstantRangesSet CRS = i.getCaseValueEx(); - Vals64.push_back(CRS.getNumItems()); - for (unsigned ri = 0, rn = CRS.getNumItems(); ri != rn; ++ri) { - ConstantRangesSet::Range r = CRS.getItem(ri); + IntegersSubset CaseRanges = i.getCaseValueEx(); + Vals64.push_back(CaseRanges.getNumItems()); + for (unsigned ri = 0, rn = CaseRanges.getNumItems(); ri != rn; ++ri) { + IntegersSubset::Range r = CaseRanges.getItem(ri); - Vals64.push_back(CRS.isSingleNumber(ri)); + Vals64.push_back(CaseRanges.isSingleNumber(ri)); const APInt &Low = r.Low; const APInt &High = r.High; |