Introducing a BytecodeGeneratorVector for the purpose of pointing out the way the BytecodeGenerator uses element in those vectors i.e. it can retain references to elements in the vector while new elements are added, or some elements are removed. The BytecodeGeneratorVector is implemented as a SegmentedVector. The BytecodeGenerator will now use the BytecodeGeneratorVector instead of the SegmentedVector.
Created attachment 227485 [details] the patch.
Fil pointed out that the use of SegmentedVector already adequately indicate the information about how the BytecodeGenerator uses those vector elements. At this point, there's no added benefit to doing this. So, I'll retract the patch.