Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e911b9bcc1b3f3b67e8ee6766129f616d103cb23
https://github.com/WebKit/WebKit/commit/e911b9bcc1b3f3b67e8ee6766129f616d103cb23
Author: Tadeu Zagallo <[email protected]>
Date: 2023-05-11 (Thu, 11 May 2023)
Changed paths:
M Source/WebGPU/WGSL/AST/ASTAssignmentStatement.h
M Source/WebGPU/WGSL/AST/ASTBreakStatement.h
M Source/WebGPU/WGSL/AST/ASTCompoundAssignmentStatement.h
M Source/WebGPU/WGSL/AST/ASTCompoundStatement.h
M Source/WebGPU/WGSL/AST/ASTContinueStatement.h
M Source/WebGPU/WGSL/AST/ASTDecrementIncrementStatement.h
M Source/WebGPU/WGSL/AST/ASTDiscardStatement.h
M Source/WebGPU/WGSL/AST/ASTForStatement.h
M Source/WebGPU/WGSL/AST/ASTFunction.h
M Source/WebGPU/WGSL/AST/ASTIfStatement.h
M Source/WebGPU/WGSL/AST/ASTLoopStatement.h
M Source/WebGPU/WGSL/AST/ASTPhonyStatement.h
M Source/WebGPU/WGSL/AST/ASTReturnStatement.h
M Source/WebGPU/WGSL/AST/ASTStatement.h
M Source/WebGPU/WGSL/AST/ASTStaticAssertStatement.h
M Source/WebGPU/WGSL/AST/ASTSwitchStatement.h
M Source/WebGPU/WGSL/AST/ASTVariable.h
M Source/WebGPU/WGSL/AST/ASTVariableStatement.h
M Source/WebGPU/WGSL/AST/ASTWhileStatement.h
M Source/WebGPU/WGSL/EntryPointRewriter.cpp
M Source/WebGPU/WGSL/Parser.cpp
M Source/WebGPU/WGSL/ParserPrivate.h
Log Message:
-----------
[WGSL] Convert statement nodes to be arena allocated
https://bugs.webkit.org/show_bug.cgi?id=256600
rdar://109163279
Reviewed by Dan Glastonbury.
Continue incrementally converting nodes to be arena allocated
* Source/WebGPU/WGSL/AST/ASTAssignmentStatement.h:
* Source/WebGPU/WGSL/AST/ASTBreakStatement.h:
* Source/WebGPU/WGSL/AST/ASTCompoundAssignmentStatement.h:
(WGSL::AST::CompoundAssignmentStatement::leftExpression):
(WGSL::AST::CompoundAssignmentStatement::rightExpression):
(WGSL::AST::CompoundAssignmentStatement::operation const):
* Source/WebGPU/WGSL/AST/ASTCompoundStatement.h:
* Source/WebGPU/WGSL/AST/ASTContinueStatement.h:
* Source/WebGPU/WGSL/AST/ASTDecrementIncrementStatement.h:
* Source/WebGPU/WGSL/AST/ASTDiscardStatement.h:
* Source/WebGPU/WGSL/AST/ASTForStatement.h:
* Source/WebGPU/WGSL/AST/ASTFunction.h:
* Source/WebGPU/WGSL/AST/ASTIfStatement.h:
* Source/WebGPU/WGSL/AST/ASTLoopStatement.h:
* Source/WebGPU/WGSL/AST/ASTPhonyStatement.h:
* Source/WebGPU/WGSL/AST/ASTReturnStatement.h:
* Source/WebGPU/WGSL/AST/ASTStatement.h:
* Source/WebGPU/WGSL/AST/ASTStaticAssertStatement.h:
* Source/WebGPU/WGSL/AST/ASTSwitchStatement.h:
* Source/WebGPU/WGSL/AST/ASTVariable.h:
* Source/WebGPU/WGSL/AST/ASTVariableStatement.h:
* Source/WebGPU/WGSL/AST/ASTWhileStatement.h:
* Source/WebGPU/WGSL/EntryPointRewriter.cpp:
(WGSL::EntryPointRewriter::materialize):
(WGSL::EntryPointRewriter::visit):
* Source/WebGPU/WGSL/Parser.cpp:
(WGSL::Parser<Lexer>::parseStatement):
(WGSL::Parser<Lexer>::parseCompoundStatement):
(WGSL::Parser<Lexer>::parseIfStatement):
(WGSL::Parser<Lexer>::parseIfStatementWithAttributes):
(WGSL::Parser<Lexer>::parseForStatement):
(WGSL::Parser<Lexer>::parseReturnStatement):
* Source/WebGPU/WGSL/ParserPrivate.h:
Canonical link: https://commits.webkit.org/263956@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes