diff options
author | Chris Lattner <sabre@nondot.org> | 2002-10-17 22:13:28 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-10-17 22:13:28 +0000 |
commit | dc062d3e6cffbfc8817b6411f97358acecf5094b (patch) | |
tree | 706687350deba5caff4dfd9a2578dea86bb978ce /lib/Analysis/DataStructure/Printer.cpp | |
parent | 06285237ea4fbf29ac205432a343b8d555e51fd3 (diff) |
Print Mod/ref info
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4224 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DataStructure/Printer.cpp')
-rw-r--r-- | lib/Analysis/DataStructure/Printer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Analysis/DataStructure/Printer.cpp b/lib/Analysis/DataStructure/Printer.cpp index dade3f750a..8b29c1c6c0 100644 --- a/lib/Analysis/DataStructure/Printer.cpp +++ b/lib/Analysis/DataStructure/Printer.cpp @@ -39,6 +39,8 @@ static string getCaption(const DSNode *N, const DSGraph *G) { if (N->NodeType & DSNode::NewNode ) OS << "N"; if (N->NodeType & DSNode::GlobalNode) OS << "G"; if (N->NodeType & DSNode::Incomplete) OS << "I"; + if (N->NodeType & DSNode::Modified ) OS << "M"; + if (N->NodeType & DSNode::Read ) OS << "R"; for (unsigned i = 0, e = N->getGlobals().size(); i != e; ++i) { WriteAsOperand(OS, N->getGlobals()[i], false, true, M); |