Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e2606b1940c67a766d810a5ad54c114298f37036
      
https://github.com/WebKit/WebKit/commit/e2606b1940c67a766d810a5ad54c114298f37036
  Author: Tadeu Zagallo <[email protected]>
  Date:   2023-02-13 (Mon, 13 Feb 2023)

  Changed paths:
    M Source/JavaScriptCore/bytecode/BytecodeList.rb
    M Source/JavaScriptCore/bytecode/UnlinkedMetadataTable.cpp

  Log Message:
  -----------
  [JSC] Sort opcodes to remove padding from metadata table
https://bugs.webkit.org/show_bug.cgi?id=252055
rdar://105276503

Reviewed by Yusuke Suzuki.

Sort the opcodes by metadata alignment requirements. We start with 8-byte 
aligned,
followed by 4-byte, etc. The memory savings are minimal (too small to measure 
with
confidence), but they are also free.

* Source/JavaScriptCore/bytecode/BytecodeList.rb:
* Source/JavaScriptCore/bytecode/UnlinkedMetadataTable.cpp:
(JSC::UnlinkedMetadataTable::finalize):

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to