Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: bd190f34248f8b628b408fd3b5dcb1e0dd2a0065
      
https://github.com/WebKit/WebKit/commit/bd190f34248f8b628b408fd3b5dcb1e0dd2a0065
  Author: David Degazio <[email protected]>
  Date:   2024-04-17 (Wed, 17 Apr 2024)

  Changed paths:
    M Source/JavaScriptCore/wasm/WasmTypeDefinition.h

  Log Message:
  -----------
  [WASM-GC] RTT payload offset is wrong when HAVE(36BIT_ADDRESS)
https://bugs.webkit.org/show_bug.cgi?id=272776
rdar://124477605

Reviewed by Justin Michaud and Yusuke Suzuki.

Fixes RTT::offsetOfPayload() to return the end of the RTT structure instead
of the end of the m_displaySize field. This agrees with the actual address
we compute in RTT::payload(), and fixes a bug where on platforms with 36-bit
addresses, the alignment of RTT causes these two notions of the payload
offset to diverge.

* Source/JavaScriptCore/wasm/WasmTypeDefinition.h:

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



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

Reply via email to