Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6b720e4ce33c618f150ab797ac2d6ab8cf13b148
      
https://github.com/WebKit/WebKit/commit/6b720e4ce33c618f150ab797ac2d6ab8cf13b148
  Author: Xeonacid <[email protected]>
  Date:   2026-05-12 (Tue, 12 May 2026)

  Changed paths:
    M Source/JavaScriptCore/assembler/MacroAssemblerRISCV64.h

  Log Message:
  -----------
  [JSC] Use std::integral in RISCV64 immediate helpers
https://bugs.webkit.org/show_bug.cgi?id=314636

Reviewed by Yusuke Suzuki.

MacroAssemblerRISCV64 uses EnableIfInteger<T> for the integer overloads of I(), 
S(), and B(), but EnableIfInteger is not defined. Use the existing C++20 
std::integral constraint so the RISCV64 assembler header builds.

No new tests because this is target-specific JSC assembler build support.

* Source/JavaScriptCore/assembler/MacroAssemblerRISCV64.h:
(JSC::MacroAssemblerRISCV64::Imm): Use std::integral for the immediate helper 
overload constraints.

Canonical link: https://commits.webkit.org/313137@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to