Change the letters used to represent stack and heap allocations to "S" and "H"
authorChris Lattner <sabre@nondot.org>
Sun, 3 Nov 2002 19:46:15 +0000 (19:46 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 3 Nov 2002 19:46:15 +0000 (19:46 +0000)
respectively.  This is to make presentation easier in the paper.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4514 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/DataStructure/Printer.cpp

index 26424bed0701de073e6c539739b8ec1986f25c3e..a58f7ef4eee736eea2979b55699c3f4deb1bc597 100644 (file)
@@ -36,8 +36,8 @@ static string getCaption(const DSNode *N, const DSGraph *G) {
     OS << "\n";
   }
 
-  if (N->NodeType & DSNode::AllocaNode ) OS << "A";
-  if (N->NodeType & DSNode::NewNode    ) OS << "N";
+  if (N->NodeType & DSNode::AllocaNode ) OS << "S";
+  if (N->NodeType & DSNode::NewNode    ) OS << "H";
   if (N->NodeType & DSNode::GlobalNode ) OS << "G";
   if (N->NodeType & DSNode::UnknownNode) OS << "U";
   if (N->NodeType & DSNode::Incomplete ) OS << "I";