Skip to content

Commit

Permalink
[test] Fix left-over use of kWasmStmt in wasm-module-builder (#1812)
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 24, 2024
1 parent f501994 commit a315401
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 a315401

Please sign in to comment.