diff options
-rw-r--r-- | dw/outofflowmgr.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dw/outofflowmgr.cc b/dw/outofflowmgr.cc index 7d92d957..e85c630e 100644 --- a/dw/outofflowmgr.cc +++ b/dw/outofflowmgr.cc @@ -159,20 +159,20 @@ int OutOfFlowMgr::Float::CompareGBAndExtIndex::compare(Object *o1, Object *o2) for (TBInfo *t = t1; t != NULL; t = t->parent) if (t->parent == t2) { - return t->parentExtIndex - f2->externalIndex; //printf (" (b) %p is an achestor of %p; direct child is %p (%d)" // " => %d - %d = %d\n", t2->textblock, t1->textblock, // t->textblock, t->parentExtIndex, t->parentExtIndex, // f2->externalIndex, t->parentExtIndex - f2->externalIndex); + return t->parentExtIndex - f2->externalIndex; } for (TBInfo *t = t2; t != NULL; t = t->parent) if (t->parent == t1) { - return f1->externalIndex - t->parentExtIndex; //printf (" (c) %p is an achestor of %p; direct child is %p (%d)" // " => %d - %d = %d\n", t1->textblock, t2->textblock, // t->textblock, t->parentExtIndex, f1->externalIndex, // t->parentExtIndex, f1->externalIndex - t->parentExtIndex); + return f1->externalIndex - t->parentExtIndex; } //printf (" (d) other => %d - %d = %d\n", |