Bug 275213
| Summary: | [Win] Use SystemV ABI for Baseline JS JIT on Windows | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ian Grunert <ian.grunert> |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | fujii.hironori, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | PC | ||
| OS: | Windows 10 | ||
Ian Grunert
clang-cl gives us the option of changing a function to use the SystemV ABI:
https://clang.llvm.org/docs/AttributeReference.html#sysv-abi
By using this on functions on the C++ / JIT boundaries, we can use the same codepaths for function calls and the same register mappings between Windows and Linux / Mac / BSD.
Enabling the Baseline JS JIT is the next step, and unblocks the possibility of enabling the rest of the JITs:
* Wasm LLInt (JIT required for entry thunks)
* Wasm BBQ JIT
* Wasm OMG JIT
* YarrJIT
* CSS Selector JIT
* DFG JIT
* FTL JIT
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/129784852>
Ian Grunert
Pull request: https://github.com/WebKit/WebKit/pull/29582
EWS
Committed 280216@main (0b1e4218e15e): <https://commits.webkit.org/280216@main>
Reviewed commits have been landed. Closing PR #29582 and removing active labels.