Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4f277a90e568dcc05d57cb96abf3820d031c5f4a
      
https://github.com/WebKit/WebKit/commit/4f277a90e568dcc05d57cb96abf3820d031c5f4a
  Author: Yusuke Suzuki <[email protected]>
  Date:   2023-02-17 (Fri, 17 Feb 2023)

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

  Log Message:
  -----------
  [JSC] Fix restoreWebAssemblyGlobalState in new wasm baseline JIT
https://bugs.webkit.org/show_bug.cgi?id=252503
rdar://105611063

Reviewed by Justin Michaud.

cageConditionallyAndUntag cannot take m_dataScratchGPR for multiple scratch 
registers. They need different one.
This patch changes the new wasm baseline JIT to always reserve 
GPRInfo::wasmBoundsCheckingSizeRegister.
We anyway reserving all callee-save registers right now, so it does not change 
the code generation. Plus, this
makes implementation simpler.

* Source/JavaScriptCore/wasm/WasmBBQJIT.cpp:
(JSC::Wasm::BBQJIT::BBQJIT):
(JSC::Wasm::BBQJIT::emitCheckAndPreparePointer):
(JSC::Wasm::BBQJIT::restoreWebAssemblyGlobalState):
(JSC::Wasm::BBQJIT::emitIndirectCall):

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


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

Reply via email to