rb_evict_ivars_to_hash: get rid of the sahpe paramater
It's only used to allocate the table with the right size,
but in some case we were passing rb_shape_get_shape_by_id(SHAPE_OBJ_TOO_COMPLEX)
which next_iv_index is a bit undefined.
So overall we're better to just allocate a table the size of the existing
object, it should be close enough in the vast majority of cases,
and that's already a de-optimizaton path anyway.
rb_evict_ivars_to_hash: get rid of the sahpe paramater
It's only used to allocate the table with the right size,
but in some case we were passing
rb_shape_get_shape_by_id(SHAPE_OBJ_TOO_COMPLEX)
which
next_iv_index
is a bit undefined.So overall we're better to just allocate a table the size of the existing
object, it should be close enough in the vast majority of cases,
and that's already a de-optimizaton path anyway.