[Webkit-unassigned] [Bug 220365] [JSC] Allow to build WebAssembly without B3

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 6 09:14:33 PST 2021


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

--- Comment #2 from Xan Lopez <xan.lopez at gmail.com> ---
(In reply to Xan Lopez from comment #1)
> 
> 1) code in WasmCallingConvention.h uses B3::ValueRep for all tiers. This
> seems to be a self-contained class to track the representation of values. It
> could be moved out of b3/, or we could use something different.
> 
> 2) the js->wasm entrypoint uses B3::Compilation unconditionally, even for
> LLInt code. Again, this can be basically compiled by itself, so I'm also
> doing that. It could be moved elsewhere, or we could use something different.
> 

FWIW, in both cases the code can be compiled by itself and it does not seem to be very B3 specific, at least in how it's used by WebAssembly. ValueRep is used to describe the call information for a wasm function, and Compilation just seems to be a MacroAssemblerCodeRef wrapping a chunk of code. Again, I could be missing something, but this is the reason I think it could make sense to rename and reuse them here.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210106/ec878a22/attachment-0001.htm>


More information about the webkit-unassigned mailing list