diff --git a/polly/lib/Analysis/ScopGraphPrinter.cpp b/polly/lib/Analysis/ScopGraphPrinter.cpp index f5bf2257e28e..4f9f7fd8d9b6 100644 --- a/polly/lib/Analysis/ScopGraphPrinter.cpp +++ b/polly/lib/Analysis/ScopGraphPrinter.cpp @@ -36,7 +36,7 @@ static cl::opt ViewAll("polly-view-all", namespace llvm { template <> struct GraphTraits : public GraphTraits { - static NodeType *getEntryNode(ScopDetection *SD) { + static NodeRef getEntryNode(ScopDetection *SD) { return GraphTraits::getEntryNode(SD->getRI()); } static nodes_iterator nodes_begin(ScopDetection *SD) {