Skip to content

Commit

Permalink
Add v128 value type support
Browse files Browse the repository at this point in the history
  • Loading branch information
kateinoigakukun committed Oct 28, 2024
1 parent e50a06f commit 8dde029
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,8 @@ function parseValueType(parseState) {
return "funcref";
case 0x6f:
return "externref";
case 0x7B:
return "v128";
default:
throw new Error(`Unknown value type ${type}`);
}
Expand Down
1 change: 1 addition & 0 deletions test/check.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ function prepare(testsuitePath) {
"utf8-import-field.wast",
"utf8-import-module.wast",
"linking.wast",
"simd_linking.wast",
]

for (const file of files) {
Expand Down

0 comments on commit 8dde029

Please sign in to comment.