(val)
| 285 | |
| 286 | (function TestGrowWithInit() { |
| 287 | function getDummy(val) { |
| 288 | let builder = new WasmModuleBuilder(); |
| 289 | builder.addFunction('dummy', kSig_i_v) |
| 290 | .addBody([kExprI32Const, val]) |
| 291 | .exportAs('dummy'); |
| 292 | return builder.instantiate().exports.dummy; |
| 293 | } |
| 294 | let table = new WebAssembly.Table({element: "anyfunc", initial: 1}); |
| 295 | table.grow(5, getDummy(24)); |
| 296 | for (let i = 1; i <= 5; ++i) { |
no test coverage detected
searching dependent graphs…