[Midnightbsd-cvs] [MidnightBSD/mports] 78a81e: lang/spidermonkey128: fix typed array i386 alignment

Lucas Holt noreply at github.com
Sat May 16 13:58:23 EDT 2026


  Branch: refs/heads/lang/spidermonkey128
  Home:   https://github.com/MidnightBSD/mports
  Commit: 78a81e5b840af296a43e17cbafdf2fd35ec67650
      https://github.com/MidnightBSD/mports/commit/78a81e5b840af296a43e17cbafdf2fd35ec67650
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-05-16 (Sat, 16 May 2026)

  Changed paths:
    A lang/spidermonkey128/files/patch-js_src_vm_TypedArrayObject-inl.h

  Log Message:
  -----------
  lang/spidermonkey128: fix typed array i386 alignment

Use ArrayBufferObject::ARRAY_BUFFER_ALIGNMENT for the TypedArrayObject alignment assertion instead of std::max_align_t. On i386, max_align_t is 4 while 64-bit typed array elements are 8 bytes, but ArrayBuffer data is guaranteed to be 8-byte aligned.

AI-Assisted-by: OpenAI GPT-5 Codex <noreply at openai.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>



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


More information about the Midnightbsd-cvs mailing list