[llvm-commits] [poolalloc] r122029 - /poolalloc/trunk/lib/DSA/DataStructure.cpp
Arushi Aggarwal
aggarwa4 at illinois.edu
Thu Dec 16 18:37:52 PST 2010
Author: aggarwa4
Date: Thu Dec 16 20:37:52 2010
New Revision: 122029
URL: http://llvm.org/viewvc/llvm-project?rev=122029&view=rev
Log:
Makes code more readable.
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=122029&r1=122028&r2=122029&view=diff
==============================================================================
--- poolalloc/trunk/lib/DSA/DataStructure.cpp (original)
+++ poolalloc/trunk/lib/DSA/DataStructure.cpp Thu Dec 16 20:37:52 2010
@@ -548,7 +548,7 @@
if(NH.getNode()->getSize() != 0 && CurNodeH.getNode()->getSize() != 0) {
if((NH.getNode()->getSize() != CurNodeH.getNode()->getSize() &&
(NH.getOffset() != 0 || CurNodeH.getOffset() != 0)
- && NH.getNode()->getSize() <= CurNodeH.getNode()->getSize())) {
+ && NH.getNode()->getSize() < CurNodeH.getNode()->getSize())) {
CurNodeH.getNode()->foldNodeCompletely();
NH.getNode()->foldNodeCompletely();
NSize = NH.getNode()->getSize();
More information about the llvm-commits
mailing list