Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d9a9d09eec9ce68a533f6f02de0f2aa1627e017f
      
https://github.com/WebKit/WebKit/commit/d9a9d09eec9ce68a533f6f02de0f2aa1627e017f
  Author: Mikhail R. Gadelha <mikh...@igalia.com>
  Date:   2025-08-22 (Fri, 22 Aug 2025)

  Changed paths:
    M Source/WTF/wtf/text/ASCIILiteral.h

  Log Message:
  -----------
  Make ASCIILiteral::hash() constexpr. NFCI.
https://bugs.webkit.org/show_bug.cgi?id=297782

Reviewed by Yusuke Suzuki.

This PR fixes a compilation issue when building jsc for linux arm32 and amr64
in debug mode:

PCToCodeOriginMap.h: In static member function ‘static constexpr uint64_t 
JSC::Wasm::OMGOrigin::expectedMagicValue()’:
ValidatedReinterpretCast.h:60:38: error: call to non-‘constexpr’ function 
‘unsigned int WTF::ASCIILiteral::hash() const’
   60 |         return ASCIILiteral(fqn).hash(); \
      |                ~~~~~~~~~~~~~~~~~~~~~~^~

* Source/WTF/wtf/text/ASCIILiteral.h:
(WTF::ASCIILiteral::hash const):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to