[Webkit-unassigned] [Bug 149310] New: Optimize WebAssembly calls
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Sep 17 15:53:11 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=149310
Bug ID: 149310
Summary: Optimize WebAssembly calls
Classification: Unclassified
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: sukolsak at gmail.com
Currently, when a WebAssembly function calls another function (JS or WASM), it will type check the return value and coerce it into the expected type. Similarly, when a WebAssembly function is called by another function (JS or WASM), it will type check the arguments and coerce them into the expected types. We can avoid this type checking and type coercion if we know that the caller or the callee is a WebAssembly function, because WebAssembly is statically typed.
We can probably take it further by avoiding boxing and unboxing of values completely when a WebAssembly function calls another WebAssembly function.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150917/06da754d/attachment.html>
More information about the webkit-unassigned
mailing list