Bug 130614

Summary: Refactoring the BytecodeGenerator to use a BytecodeGeneratorVector.
Product: WebKit Reporter: Mark Lam <mark.lam>
Component: JavaScriptCoreAssignee: Mark Lam <mark.lam>
Status: RESOLVED INVALID    
Severity: Normal CC: ggaren, oliver
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
the patch. mark.lam: review-

Description Mark Lam 2014-03-21 13:41:02 PDT
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.
Comment 1 Mark Lam 2014-03-21 13:46:09 PDT
Created attachment 227485 [details]
the patch.
Comment 2 Mark Lam 2014-03-21 13:54:41 PDT
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.