Once again fix for LLVM 3.1 TOT API changes
This commit is contained in:
@@ -2824,7 +2824,7 @@ void CWriter::visitSwitchInst(SwitchInst &SI) {
|
|||||||
Out << ";\n";
|
Out << ";\n";
|
||||||
|
|
||||||
#ifdef LLVM_3_1svn
|
#ifdef LLVM_3_1svn
|
||||||
for (SwitchInst::CaseIt i = SI.caseBegin(), e = SI.caseEnd(); i != e; ++i) {
|
for (SwitchInst::CaseIt i = SI.case_begin(), e = SI.case_end(); i != e; ++i) {
|
||||||
ConstantInt* CaseVal = i.getCaseValue();
|
ConstantInt* CaseVal = i.getCaseValue();
|
||||||
BasicBlock* Succ = i.getCaseSuccessor();
|
BasicBlock* Succ = i.getCaseSuccessor();
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user