[llvm-commits] CVS: llvm/lib/Analysis/DataStructure/Printer.cpp
Chris Lattner
lattner at cs.uiuc.edu
Fri Feb 14 14:26:01 PST 2003
Changes in directory llvm/lib/Analysis/DataStructure:
Printer.cpp updated: 1.50 -> 1.51
---
Log message:
Mark function edges
---
Diffs of the changes:
Index: llvm/lib/Analysis/DataStructure/Printer.cpp
diff -u llvm/lib/Analysis/DataStructure/Printer.cpp:1.50 llvm/lib/Analysis/DataStructure/Printer.cpp:1.51
--- llvm/lib/Analysis/DataStructure/Printer.cpp:1.50 Thu Feb 13 14:14:40 2003
+++ llvm/lib/Analysis/DataStructure/Printer.cpp Fri Feb 14 14:25:47 2003
@@ -127,6 +127,8 @@
EdgeSourceCaptions[0] = "r";
if (Call.isDirectCall())
EdgeSourceCaptions[1] = Call.getCalleeFunc()->getName();
+ else
+ EdgeSourceCaptions[1] = "f";
GW.emitSimpleNode(&Call, "shape=record", "call", Call.getNumPtrArgs()+2,
&EdgeSourceCaptions);
More information about the llvm-commits
mailing list