[Webkit-unassigned] [Bug 168694] WebAssembly: doesn't with with --useJIT=0

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 22 09:44:22 PST 2017


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

JF Bastien <jfbastien at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WONTFIX                     |---

--- Comment #4 from JF Bastien <jfbastien at apple.com> ---

> I don't think useJIT means what you want it to mean.  useJIT determines
> whether JSC is allowed to JIT.  If it's not allowed to JIT, then it's not
> allowed to wasm.  The only time we set it to false is to simulate
> environments where we don't have the JIT entitlement, and so cannot JIT at
> all.
> 
> So I think this is wontfix.

That's fine. In that case we should throw when users try to use WebAssembly and useJIT is false. Uses of WebAssembly.Module / WebAssembly.compile / WebAssembly.instantiate should throw. Or maybe the WebAssembly object just shouldn't be there if useJIT == false. I think that's better.

I can get what I want by disabling baseline+DFG+FTL instead. I'd also update the description of useJIT, which is currently "allows the baseline JIT to be used if true".

So I'll reopen this bug, change its description, and implement it when I feel like doing something simple :)

-- 
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/20170222/a1f81823/attachment.html>


More information about the webkit-unassigned mailing list