forked from WebKit/WebKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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
- Loading branch information
1 parent
51a237c
commit e911b9b
Showing
22 changed files
with
137 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.