llvm::SwitchInst
[oota-llvm.git] / lib / VMCore / AsmWriter.cpp
index c3a352fa0d99f82e9be329aab8c4f650bef4a72b..7b39efb7c7a0fd878ffa9f36b46c5c23b83f6036 100644 (file)
@@ -1731,7 +1731,7 @@ void AssemblyWriter::printInstruction(const Instruction &I) {
     Out << ", ";
     writeOperand(SI.getDefaultDest(), true);
     Out << " [";
-    for (SwitchInst::CaseIt i = SI.caseBegin(), e = SI.caseEnd();
+    for (SwitchInst::CaseIt i = SI.case_begin(), e = SI.case_end();
          i != e; ++i) {
       Out << "\n    ";
       writeOperand(i.getCaseValue(), true);