Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: c94bdc51378de64788a375c8dd75feb58bdd172f https://github.com/WebKit/WebKit/commit/c94bdc51378de64788a375c8dd75feb58bdd172f Author: Tadeu Zagallo <tzaga...@apple.com> Date: 2023-05-30 (Tue, 30 May 2023)
Changed paths: M Source/WebGPU/WGSL/AST/ASTBuilder.cpp Log Message: ----------- [WGSL] AST::Builder needs to shrink nodes when restoring state https://bugs.webkit.org/show_bug.cgi?id=257457 rdar://109974514 Reviewed by Myles C. Maxfield. When restoring the previous state of the AST builder we free the nodes that were allocated during the current compilation, but we also need to remove them from m_nodes, otherwise they'll be freed multiple times. * Source/WebGPU/WGSL/AST/ASTBuilder.cpp: (WGSL::AST::Builder::restore): Canonical link: https://commits.webkit.org/264663@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes