(obj)
| 707 | |
| 708 | { // Test wasm inlined into JS inlined into JS. |
| 709 | const getTrapNested = (obj) => { |
| 710 | %PrepareFunctionForOptimization(inlined); |
| 711 | return inlined(); |
| 712 | function inlined() { return wasm.getField(obj); }; |
| 713 | }; |
| 714 | |
| 715 | let wasmStruct = wasm.createStruct(42); |
| 716 | // Warmup without exception. This seems to help inlining the JS function. |
no test coverage detected