Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 91061b48751d475257c31fd551d9a2556dbcccf2
      
https://github.com/WebKit/WebKit/commit/91061b48751d475257c31fd551d9a2556dbcccf2
  Author: Tadeu Zagallo <[email protected]>
  Date:   2024-01-19 (Fri, 19 Jan 2024)

  Changed paths:
    M Source/WebGPU/WGSL/GlobalVariableRewriter.cpp

  Log Message:
  -----------
  [WGSL] Global variable rewriter should not use range-based for loop
https://bugs.webkit.org/show_bug.cgi?id=267720
rdar://121208769

Reviewed by Mike Wyrzykowski.

New structs might be created and inserted into the vector while we're iterating 
it,
which invalidates the iterator.

* Source/WebGPU/WGSL/GlobalVariableRewriter.cpp:
(WGSL::RewriteGlobalVariables::collectGlobals):

Canonical link: https://commits.webkit.org/273224@main


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to