1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Print Mod/ref info

llvm-svn: 4224
This commit is contained in:
Chris Lattner 2002-10-17 22:13:28 +00:00
parent 51b2abb899
commit bd5e932aeb

View File

@ -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);