[webkit-changes] [WebKit/WebKit] 74cbf1: [BBQ] direct call import codegen improvement

Keith Miller noreply at github.com
Wed Jun 7 11:13:28 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 74cbf1af3f5baeff32417f0f1ae9c12da7ded258
      https://github.com/WebKit/WebKit/commit/74cbf1af3f5baeff32417f0f1ae9c12da7ded258
  Author: Keith Miller <keith_miller at apple.com>
  Date:   2023-06-07 (Wed, 07 Jun 2023)

  Changed paths:
    M Source/JavaScriptCore/wasm/WasmBBQJIT.cpp

  Log Message:
  -----------
  [BBQ] direct call import codegen improvement
https://bugs.webkit.org/show_bug.cgi?id=257721

Reviewed by Yusuke Suzuki.

Since the limit on imported functions is 100,000 the offset of the function stub will always be less than 2^31.
Thus we can use an Address rather than a separate add.

* Source/JavaScriptCore/wasm/WasmBBQJIT.cpp:
(JSC::Wasm::BBQJIT::addCall):

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




More information about the webkit-changes mailing list