From 9805300ac4dd3c13fa081cdff16d6020910f79bf Mon Sep 17 00:00:00 2001 From: Dmitri Pivkine Date: Tue, 28 May 2019 11:18:50 -0400 Subject: [PATCH] Cleanup Indexable Object Scanner Remove old (unused) constructor Signed-off-by: Dmitri Pivkine --- gc/base/IndexableObjectScanner.hpp | 36 ------------------------------ 1 file changed, 36 deletions(-) diff --git a/gc/base/IndexableObjectScanner.hpp b/gc/base/IndexableObjectScanner.hpp index 31d03855e21..e9ca0116f0f 100644 --- a/gc/base/IndexableObjectScanner.hpp +++ b/gc/base/IndexableObjectScanner.hpp @@ -82,42 +82,6 @@ class GC_IndexableObjectScanner : public GC_ObjectScanner } } - /** - * @param env The scanning thread environment - * @param[in] arrayPtr pointer to the array to be processed - * @param[in] basePtr pointer to the first contiguous array cell - * @param[in] limitPtr pointer to end of last contiguous array cell - * @param[in] scanPtr pointer to the array cell where scanning will start - * @param[in] endPtr pointer to the array cell where scanning will stop - * @param[in] flags scanning context flags - */ - GC_IndexableObjectScanner( - MM_EnvironmentBase *env - , omrobjectptr_t arrayPtr - , fomrobject_t *basePtr - , fomrobject_t *limitPtr - , fomrobject_t *scanPtr - , fomrobject_t *endPtr - , uintptr_t flags - ) - : GC_ObjectScanner( - env - , arrayPtr - , scanPtr - , ((endPtr - scanPtr) < _bitsPerScanMap) ? (((uintptr_t)1 << (endPtr - scanPtr)) - 1) : UDATA_MAX - , flags | GC_ObjectScanner::indexableObject - ) - , _endPtr(endPtr) - , _basePtr(basePtr) - , _limitPtr(limitPtr) - , _elementSize(sizeof(fomrobject_t)) - { - _typeId = __FUNCTION__; - if ((endPtr - scanPtr) <= _bitsPerScanMap) { - setNoMoreSlots(); - } - } - /** * Set up the scanner. * @param[in] env current environment (per thread)