Bug 252278
| Summary: | [WGSL] Use a SortedArrayMap to match keywords and reserved words | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Dan Glastonbury <djg> |
| Component: | WebGPU | Assignee: | Dan Glastonbury <djg> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Other | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Dan Glastonbury
In lieu of a tool to generate a trie for detecting keywords and reserved words,
replace the long sequence of if/return with a SortedArrayMap of keyword to
TokenType.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/105476092>
Dan Glastonbury
Pull request: https://github.com/WebKit/WebKit/pull/10121
EWS
Committed 260336@main (9ee0c4ea8853): <https://commits.webkit.org/260336@main>
Reviewed commits have been landed. Closing PR #10121 and removing active labels.