[llvm-commits] CVS: poolalloc/lib/PoolAllocate/EquivClassGraphs.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun Oct 31 10:13:29 PST 2004
Changes in directory poolalloc/lib/PoolAllocate:
EquivClassGraphs.cpp updated: 1.5 -> 1.6
---
Log message:
Fix another bug in Prolangs-C++/objects
---
Diffs of the changes: (+2 -1)
Index: poolalloc/lib/PoolAllocate/EquivClassGraphs.cpp
diff -u poolalloc/lib/PoolAllocate/EquivClassGraphs.cpp:1.5 poolalloc/lib/PoolAllocate/EquivClassGraphs.cpp:1.6
--- poolalloc/lib/PoolAllocate/EquivClassGraphs.cpp:1.5 Sun Oct 31 11:47:48 2004
+++ poolalloc/lib/PoolAllocate/EquivClassGraphs.cpp Sun Oct 31 12:13:19 2004
@@ -171,7 +171,8 @@
// Record the argument nodes for use in merging later below
EquivClassGraphArgsInfo& GraphInfo = getECGraphInfo(mergedG);
for (Function::aiterator AI1 = LF->abegin(); AI1 != LF->aend(); ++AI1)
- GraphInfo.argNodes.push_back(mergedG->getNodeForValue(AI1));
+ if (DS::isPointerType(AI1->getType()))
+ GraphInfo.argNodes.push_back(mergedG->getNodeForValue(AI1));
// Merge in the graphs of all other functions in this equiv. class.
// Note that two or more functions may have the same graph, and it
More information about the llvm-commits
mailing list