[Webkit-unassigned] [Bug 149033] Convert arguments to WebAssembly functions to the declared types

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 10 17:46:44 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=149033

--- Comment #6 from Geoffrey Garen <ggaren at apple.com> ---
> > Can we avoid these conversions if we know that we have a WASM caller?
> 
> Yes, that's one of the optimizations I plan to do. Maybe exported WASM
> functions should have two entry points?

Yes -- I think we should either use two entry points or require non-WASM functions calling WASM functions to call through a thunk.

> > Why is the test case skipped?
> 
> Because WebAssembly is not enabled by default, so loadWebAssembly() is not
> defined by default. I will create a patch that removes the "@skip" and uses
> "if (loadWebAssembly !== undefined) { ... }"

Sounds good.

It seems like we have enough WASM functionality that we might want to enable WASM in trunk for testing -- even though we should leave the API for running WASM out of WebKit and Safari by default.

-- 
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/20150911/69f918a2/attachment.html>


More information about the webkit-unassigned mailing list