[webkit-changes] [WebKit/WebKit] fb7a56: untagArrayPtr() should do validation if FPAC is no...

Commit Queue noreply at github.com
Mon May 22 13:52:13 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: fb7a5657ea12cf9077f082fa243c40fa3244dd5c
      https://github.com/WebKit/WebKit/commit/fb7a5657ea12cf9077f082fa243c40fa3244dd5c
  Author: Mark Lam <mark.lam at apple.com>
  Date:   2023-05-22 (Mon, 22 May 2023)

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

  Log Message:
  -----------
  untagArrayPtr() should do validation if FPAC is not available, not the other way around.
https://bugs.webkit.org/show_bug.cgi?id=255136
rdar://107739543

Reviewed by Yusuke Suzuki and Justin Michaud.

The current code erroneously tests for the inverted condition.

* Source/JavaScriptCore/assembler/MacroAssemblerARM64E.h:
(JSC::MacroAssemblerARM64E::untagArrayPtr):
(JSC::MacroAssemblerARM64E::untagArrayPtrLength64):

Originally-landed-as: 259548.592 at safari-7615-branch (61fa810ab89d). rdar://107739543
Canonical link: https://commits.webkit.org/264370@main




More information about the webkit-changes mailing list