[llvm-commits] CVS: llvm/lib/Analysis/DataStructure/Printer.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu Oct 17 17:14:03 PDT 2002
Changes in directory llvm/lib/Analysis/DataStructure:
Printer.cpp updated: 1.20 -> 1.21
---
Log message:
Print Mod/ref info
---
Diffs of the changes:
Index: llvm/lib/Analysis/DataStructure/Printer.cpp
diff -u llvm/lib/Analysis/DataStructure/Printer.cpp:1.20 llvm/lib/Analysis/DataStructure/Printer.cpp:1.21
--- llvm/lib/Analysis/DataStructure/Printer.cpp:1.20 Wed Oct 16 23:24:30 2002
+++ llvm/lib/Analysis/DataStructure/Printer.cpp Thu Oct 17 17:13:28 2002
@@ -39,6 +39,8 @@
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);
More information about the llvm-commits
mailing list