[Webkit-unassigned] [Bug 198313] New: [WHLSL] The checker should not have pointers/references into its maps

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 28 17:12:04 PDT 2019


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

            Bug ID: 198313
           Summary: [WHLSL] The checker should not have
                    pointers/references into its maps
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebGPU
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: rmorisset at apple.com

m_typeMap is currently HashMap<AST::Expression*, ResolvingType> m_typeMap;
This is buggy, because some code in the checker has references into it, and they get invalidated whenever the typeMap is resized. Instead the Map should contain UniqueRef<ResolvingType>, and then we should only have references to the ResolvingType itself.
This bugs currently prevents checking the full standard library.

-- 
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/20190529/8b686654/attachment.html>


More information about the webkit-unassigned mailing list