RESOLVED WONTFIX165511
WebAssembly: bit-pack signature and code for call_indirect
https://bugs.webkit.org/show_bug.cgi?id=165511
Summary WebAssembly: bit-pack signature and code for call_indirect
JF Bastien
Reported 2016-12-06 21:06:10 PST
See WasmFormat.h, CallableFunction and FunctionIndexSpace. Uniquing signatures is required for correctness, and packing the signature into the code pointer will make call_indirect faster (it just needs to rotate the packed signature, check it's the expected value, and then mask it out before jumping).
Attachments
Sergey Rubanov
Comment 1 2026-08-27 14:26:07 PDT
call_indirect now type-checks the table entry's RTT (including subtype display). Packing the signature into the code pointer does not fit funcref / GC.
Note You need to log in before you can comment on or make changes to this bug.