(expr)
| 1325 | } |
| 1326 | |
| 1327 | function checkExpr(expr) { |
| 1328 | for (let b of expr) { |
| 1329 | if (typeof b !== 'number' || (b & (~0xFF)) !== 0) { |
| 1330 | throw new Error( |
| 1331 | 'invalid body (entries must be 8 bit numbers): ' + expr); |
| 1332 | } |
| 1333 | } |
| 1334 | } |
| 1335 | |
| 1336 | class WasmTableBuilder { |
| 1337 | constructor(module, type, initial_size, max_size, init_expr, is_shared, is_table64) { |
no outgoing calls
no test coverage detected