Skip to content

Commit

Permalink
wasm-module-builder: Fix left-over use of kWasmStmt (#83)
Browse files Browse the repository at this point in the history
This was renamed to kWasmVoid in
WebAssembly/memory64@2f5a7c5.
  • Loading branch information
backes authored Sep 23, 2024
1 parent cd8bba6 commit 615bd1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/js-api/wasm-module-builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -934,7 +934,7 @@ class WasmModuleBuilder {

addTable(type, initial_size, max_size = undefined, init_expr = undefined) {
if (type == kWasmI32 || type == kWasmI64 || type == kWasmF32 ||
type == kWasmF64 || type == kWasmS128 || type == kWasmStmt) {
type == kWasmF64 || type == kWasmS128 || type == kWasmVoid) {
throw new Error('Tables must be of a reference type');
}
if (init_expr != undefined) checkExpr(init_expr);
Expand Down

0 comments on commit 615bd1f

Please sign in to comment.