Bug 166462
| Summary: | WebAssembly: link import calls directly, instead of delaying to Plan linking | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | JF Bastien <jfbastien> |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | jfbastien, keith_miller, saam |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | 165282 | ||
| Bug Blocks: | 161709 | ||
JF Bastien
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |