Bug 314636
| Summary: | MacroAssemblerRISCV64 uses undefined EnableIfInteger in immediate helpers | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | h.dwwwwww |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | PC | ||
| OS: | Linux | ||
h.dwwwwww
MacroAssemblerRISCV64::Imm constrains the integer overloads for I(), S(), and B() with EnableIfInteger<T>, but EnableIfInteger is not defined in WebKit. These are the only references to that name.
As a result, RISCV64 builds that parse MacroAssemblerRISCV64.h fail when ENABLE(ASSEMBLER) is enabled.
The existing codebase already uses C++20 std::integral for this kind of constraint, so these overloads should use template<std::integral T> instead.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
EWS
Committed 313137@main (6b720e4ce33c): <https://commits.webkit.org/313137@main>
Reviewed commits have been landed. Closing PR #64756 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/176952978>