(wasm_file, options)
| 474 | |
| 475 | |
| 476 | def do_split_module(wasm_file, options): |
| 477 | os.replace(wasm_file, wasm_file + '.orig') |
| 478 | args = ['--instrument'] |
| 479 | if options.requested_debug: |
| 480 | # Tell wasm-split to preserve function names. |
| 481 | args += ['-g'] |
| 482 | building.run_binaryen_command('wasm-split', wasm_file + '.orig', outfile=wasm_file, args=args) |
| 483 | |
| 484 | |
| 485 | def get_worker_js_suffix(): |
no outgoing calls
no test coverage detected