[webkit-changes] [WebKit/WebKit] afe888: Simplify the ARM64E code because NUMBER_OF_ADDRESS...

Commit Queue noreply at github.com
Mon Apr 17 11:53:52 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: afe8886c54aa300451471cf79f482a8b35f1874b
      https://github.com/WebKit/WebKit/commit/afe8886c54aa300451471cf79f482a8b35f1874b
  Author: Mark Lam <mark.lam at apple.com>
  Date:   2023-04-17 (Mon, 17 Apr 2023)

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

  Log Message:
  -----------
  Simplify the ARM64E code because NUMBER_OF_ADDRESS_ENCODING_INSTRUCTIONS is always 4.
https://bugs.webkit.org/show_bug.cgi?id=255497
rdar://108108389

Reviewed by Alexey Shvayka.

The code doesn't need to be conditional because for ARM64E, NUMBER_OF_ADDRESS_ENCODING_INSTRUCTIONS always equals 4.

* Source/JavaScriptCore/assembler/ARM64EAssembler.h:
(JSC::ARM64EAssembler::linkPointer):
(JSC::ARM64EAssembler::setPointer):
(JSC::ARM64EAssembler::readPointer):
(JSC::ARM64EAssembler::readCallTarget):

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




More information about the webkit-changes mailing list