|Summary:||WebAssembly: link import calls directly, instead of delaying to Plan linking|
|Product:||WebKit||Reporter:||JF Bastien <jfbastien>|
|Severity:||Normal||CC:||jfbastien, keith_miller, sbarati|
|Version:||WebKit Nightly Build|
|Bug Depends on:||165282|
Description JF Bastien 2016-12-23 10:13:44 PST
The WasmB3IRGenerator's addCall doesn't need to generate a patchpoint for imports (toJS and toWasm) because they all get generated before the B3 compilation starts. Plan the goes through m_unlinkedWasmToWasmCalls and links them after all B3 compilation is done, which is extra work we didn't need to do. This is a slight optimization and requires improving WasmB3IRGenerator, which I'll do later. I'm leaving two FIXMEs for now.