[webkit-changes] [WebKit/WebKit] b136ad: [WGSL] Convert remaining AST nodes to be arena all...

Tadeu Zagallo noreply at github.com
Thu May 11 03:35:00 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b136ade70f10f05b050607e8ebcf4ea1436cd6d1
      https://github.com/WebKit/WebKit/commit/b136ade70f10f05b050607e8ebcf4ea1436cd6d1
  Author: Tadeu Zagallo <tzagallo at apple.com>
  Date:   2023-05-11 (Thu, 11 May 2023)

  Changed paths:
    M Source/WebGPU/WGSL/AST/ASTBuilder.cpp
    M Source/WebGPU/WGSL/AST/ASTBuilder.h
    M Source/WebGPU/WGSL/AST/ASTDirective.h
    M Source/WebGPU/WGSL/AST/ASTIdentifier.h
    M Source/WebGPU/WGSL/AST/ASTNode.h
    M Source/WebGPU/WGSL/AST/ASTPointerDereference.h
    M Source/WebGPU/WGSL/Parser.cpp

  Log Message:
  -----------
  [WGSL] Convert remaining AST nodes to be arena allocated
https://bugs.webkit.org/show_bug.cgi?id=256603
rdar://109163635

Reviewed by Dan Glastonbury.

Convert the final remaining nodes and remove the (now unused) parser helper macros

* Source/WebGPU/WGSL/AST/ASTBuilder.cpp:
* Source/WebGPU/WGSL/AST/ASTBuilder.h:
* Source/WebGPU/WGSL/AST/ASTDirective.h:
(WGSL::AST::Directive::name const):
* Source/WebGPU/WGSL/AST/ASTIdentifier.h:
(WGSL::AST::Identifier::Identifier):
* Source/WebGPU/WGSL/AST/ASTNode.h:
(WGSL::AST::Node::kind const):
(WGSL::AST::Node::Node):
* Source/WebGPU/WGSL/AST/ASTPointerDereference.h:
* Source/WebGPU/WGSL/Parser.cpp:

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




More information about the webkit-changes mailing list