Fix up comment from r280442, noticed by Justin.

llvm-svn: 280508
This commit is contained in:
Adam Nemet 2016-09-02 17:20:32 +00:00
parent 951cfb6aae
commit 26c43c879c
1 changed files with 2 additions and 3 deletions

View File

@ -142,9 +142,8 @@ struct DOTGraphTraits<const Function*> : public DefaultDOTGraphTraits {
if (!Weight) if (!Weight)
return ""; return "";
// Append a 'W' to indicate that these are weights rather than actual // Prepend a 'W' to indicate that this is a weight rather than the actual
// profile // profile count (due to scaling).
// count (due to scaling).
Twine Attrs = "label=\"W:" + Twine(Weight->getZExtValue()) + "\""; Twine Attrs = "label=\"W:" + Twine(Weight->getZExtValue()) + "\"";
return Attrs.str(); return Attrs.str();
} }