summaryrefslogtreecommitdiff
path: root/src/wasm-binary.h
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2022-10-20 14:24:11 -0500
committerGitHub <noreply@github.com>2022-10-20 12:24:11 -0700
commit7144c922f1cd19a4c55c603c7f57f224e9ec4975 (patch)
tree8cd37df44eefbb492a528f50cfdb1afc4b5a2a5a /src/wasm-binary.h
parentaeed16c568700a5340138cc4c43e5818e8a413fb (diff)
downloadbinaryen-7144c922f1cd19a4c55c603c7f57f224e9ec4975.tar.gz
binaryen-7144c922f1cd19a4c55c603c7f57f224e9ec4975.tar.bz2
binaryen-7144c922f1cd19a4c55c603c7f57f224e9ec4975.zip
[NFC] Avoid re-parsing instruction names (#5171)
Since gen-s-parser.py is essentially a giant table mapping instruction names to the information necessary to construct the corresponding IR nodes, there should be no need to further parse instruction names after the code generated by gen-s-parser.py runs. However, memory instruction parsing still parsed instruction names to get information such as size and default alignment. The new parser does not have the ability to parse that information out of instruction names, so put it in the gen-s-parser.py table instead.
Diffstat (limited to 'src/wasm-binary.h')
0 files changed, 0 insertions, 0 deletions