diff options
| author | Dan Gohman <gohman@apple.com> | 2010-10-20 22:02:58 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2010-10-20 22:02:58 +0000 |
| commit | 2549d0cf647291be58b6d1d1bc3547f65bb2ee38 (patch) | |
| tree | ceddf7233f3979b1de5af7b341ec7a159792e77d /llvm/lib | |
| parent | ef3ba55e52059869b37b02360c6e4baf7a139048 (diff) | |
| download | bcm5719-llvm-2549d0cf647291be58b6d1d1bc3547f65bb2ee38.tar.gz bcm5719-llvm-2549d0cf647291be58b6d1d1bc3547f65bb2ee38.zip | |
Fix comments; the type graph is currently a tree, not a DAG.
llvm-svn: 116954
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Analysis/TypeBasedAliasAnalysis.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Analysis/TypeBasedAliasAnalysis.cpp b/llvm/lib/Analysis/TypeBasedAliasAnalysis.cpp index 4cdb5b02079..787db7351aa 100644 --- a/llvm/lib/Analysis/TypeBasedAliasAnalysis.cpp +++ b/llvm/lib/Analysis/TypeBasedAliasAnalysis.cpp @@ -52,7 +52,7 @@ namespace { /// getNode - Get the MDNode for this TBAANode. const MDNode *getNode() const { return Node; } - /// getParent - Get this TBAANode's Alias DAG parent. + /// getParent - Get this TBAANode's Alias tree parent. TBAANode getParent() const { if (Node->getNumOperands() < 2) return TBAANode(); @@ -141,7 +141,7 @@ TypeBasedAliasAnalysis::alias(const Location &LocA, // Keep track of the root node for A and B. TBAANode RootA, RootB; - // Climb the DAG from A to see if we reach B. + // Climb the tree from A to see if we reach B. for (TBAANode T(AM); ; ) { if (T.getNode() == BM) // B is an ancestor of A. @@ -153,7 +153,7 @@ TypeBasedAliasAnalysis::alias(const Location &LocA, break; } - // Climb the DAG from B to see if we reach A. + // Climb the tree from B to see if we reach A. for (TBAANode T(BM); ; ) { if (T.getNode() == AM) // A is an ancestor of B. |

