summaryrefslogtreecommitdiff
path: root/dw/ooffloatsmgr.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2015-10-03 19:33:11 +0200
committerSebastian Geerken <devnull@localhost>2015-10-03 19:33:11 +0200
commitde8f5fcfb1977266557911f61f51d46173157818 (patch)
treed7b9c5d0ccf35ec46a623a9ffeb68d01d4734362 /dw/ooffloatsmgr.cc
parentd8571c047c7e8599d3c53916ec8e335311b98c70 (diff)
SRDOP: more cleanup related to floats.
Diffstat (limited to 'dw/ooffloatsmgr.cc')
-rw-r--r--dw/ooffloatsmgr.cc14
1 files changed, 0 insertions, 14 deletions
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 ...
*