[Webkit-unassigned] [Bug 171474] New: [JSC] LabelScopePtr is not necessary

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Apr 29 01:49:50 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=171474

            Bug ID: 171474
           Summary: [JSC] LabelScopePtr is not necessary
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: utatane.tea at gmail.com

At the time of introducing LabelScopePtr, there is code that copying m_labelScope. So, m_labelScope is Vector<> instead of SegmentedVector and a bit special handle (LabelScopePtr) is needed.
But right now, there is no code copying m_labelScopes. So, we can take the same design to Label, RegisterID etc. Use SegmentedVector and usual Ref<> / RefPtr<>. Then drops LabelScopePtr.
And we also makes LabelScope noncopyable.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170429/6d3e94fe/attachment.html>


More information about the webkit-unassigned mailing list