From de8f5fcfb1977266557911f61f51d46173157818 Mon Sep 17 00:00:00 2001 From: Sebastian Geerken Date: Sat, 3 Oct 2015 19:33:11 +0200 Subject: SRDOP: more cleanup related to floats. --- dw/ooffloatsmgr.cc | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'dw/ooffloatsmgr.cc') diff --git a/dw/ooffloatsmgr.cc b/dw/ooffloatsmgr.cc index 4d301e62..2e4c756f 100644 --- a/dw/ooffloatsmgr.cc +++ b/dw/ooffloatsmgr.cc @@ -525,20 +525,6 @@ void OOFFloatsMgr::sizeAllocateFloats (Side side) DBG_OBJ_LEAVE (); } -// Used as argument "gbWidth" for calcFloatX(), in the context of allocation. -int OOFFloatsMgr::getGBWidthForAllocation (Float *vloat) -{ - // See comments in getFloatsSize() for a detailed rationale ... - if (container->mustBeWidenedToAvailWidth ()) - return vloat->generatingBlock->getGeneratorWidth (); - else - // ... but notice this difference: not GB width + float width is - // used, but only GB width, since the float width has already - // been included in getFloatsSize(). - return min (getAllocation(vloat->generatingBlock)->width, - vloat->generatingBlock->getGeneratorWidth ()); -} - /** * \brief ... * -- cgit v1.2.3