Remove WriteGraph's Name argument, which it didn't use, and
[oota-llvm.git] / include / llvm / Analysis / DOTGraphTraitsPass.h
index d8daf5196fcaa5c506da29759339fe01b8963001..30741c4970aba738d9d1d40506dd499641a6bee0 100644 (file)
@@ -67,7 +67,7 @@ struct DOTGraphTraitsPrinter : public FunctionPass {
     Title = GraphName + " for '" + F.getNameStr() + "' function";
 
     if (ErrorInfo.empty())
-      WriteGraph(File, Graph, Simple, Name, Title);
+      WriteGraph(File, Graph, Simple, Title);
     else
       errs() << "  error opening file for writing!";
     errs() << "\n";