[webkit-changes] [WebKit/WebKit] 7b5086: [JSC] Disable automatic sorting of JS opcodes

Tadeu Zagallo noreply at github.com
Thu Feb 9 00:41:17 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7b5086f554ead526bfcc16e38da92711308a8f66
      https://github.com/WebKit/WebKit/commit/7b5086f554ead526bfcc16e38da92711308a8f66
  Author: Tadeu Zagallo <tzagallo at apple.com>
  Date:   2023-02-09 (Thu, 09 Feb 2023)

  Changed paths:
    M Source/JavaScriptCore/bytecode/BytecodeList.rb
    M Source/JavaScriptCore/generator/DSL.rb
    M Source/JavaScriptCore/generator/Section.rb

  Log Message:
  -----------
  [JSC] Disable automatic sorting of JS opcodes
https://bugs.webkit.org/show_bug.cgi?id=251940
rdar://105186257

Reviewed by Yusuke Suzuki.

This patch doesn't really change anything yet. I simply dumped the order in which we
were sorting the opcodes, disabled the automatic sorting and added some validation,
then changed BytecodeList.rb so the source matches the previous order.

In a subsequent patch I'll actually use a different order based on the Metadata
alignment requirements so we can get rid of all padding in the MetadataTable.

* Source/JavaScriptCore/bytecode/BytecodeList.rb:
* Source/JavaScriptCore/generator/DSL.rb:
* Source/JavaScriptCore/generator/Section.rb:

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




More information about the webkit-changes mailing list