[llvm-commits] [poolalloc] r115181 - /poolalloc/trunk/lib/DSA/DataStructure.cpp
Arushi Aggarwal
aggarwa4 at illinois.edu
Thu Sep 30 10:58:41 PDT 2010
Author: aggarwa4
Date: Thu Sep 30 12:58:41 2010
New Revision: 115181
URL: http://llvm.org/viewvc/llvm-project?rev=115181&view=rev
Log:
Changing calls from isArray() to isArrayNode().
The function name was changed earlier.
No functionality change.
Modified:
poolalloc/trunk/lib/DSA/DataStructure.cpp
Modified: poolalloc/trunk/lib/DSA/DataStructure.cpp
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/lib/DSA/DataStructure.cpp?rev=115181&r1=115180&r2=115181&view=diff
==============================================================================
--- poolalloc/trunk/lib/DSA/DataStructure.cpp (original)
+++ poolalloc/trunk/lib/DSA/DataStructure.cpp Thu Sep 30 12:58:41 2010
@@ -425,9 +425,9 @@
if (NSize != CurNodeH.getNode()->getSize()) {
#if COLLAPSE_ARRAYS_AGGRESSIVELY
if (NSize < CurNodeH.getNode()->getSize()) {
- if (NH.getNode()->isArray())
+ if (NH.getNode()->isArrayNode())
NH.getNode()->foldNodeCompletely();
- } else if (CurNodeH.getNode()->isArray()) {
+ } else if (CurNodeH.getNode()->isArrayNode()) {
NH.getNode()->foldNodeCompletely();
}
#endif
@@ -698,11 +698,11 @@
// array bit set, collapse!
#if COLLAPSE_ARRAYS_AGGRESSIVELY
if (SN->getSize() < DN->getSize()) {
- if (SN->isArray()) {
+ if (SN->isArrayNode()) {
DN->foldNodeCompletely();
DN = NH.getNode();
}
- } else if (DN->isArray()) {
+ } else if (DN->isArrayNode()) {
DN->foldNodeCompletely();
DN = NH.getNode();
}
More information about the llvm-commits
mailing list