NEW 166462
WebAssembly: link import calls directly, instead of delaying to Plan linking
https://bugs.webkit.org/show_bug.cgi?id=166462
Summary WebAssembly: link import calls directly, instead of delaying to Plan linking
JF Bastien
Reported 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.
Attachments
Note You need to log in before you can comment on or make changes to this bug.