diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp index 66ada59acdb..758b8f263b3 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp @@ -462,7 +462,7 @@ std::string DOTGraphTraits::getNodeLabel(const SUnit *SU, } else { std::string s; raw_string_ostream oss(s); - SU->MI->print(oss); + SU->getInstr()->print(oss); Op += oss.str(); }