[webkit-changes] [WebKit/WebKit] adae6f: [JSC] x64 CCall returnValueGPR is not in m_validGPRs

Yusuke Suzuki noreply at github.com
Thu Mar 2 00:00:04 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: adae6f1191279924b2af177e3e8ba94ce7516212
      https://github.com/WebKit/WebKit/commit/adae6f1191279924b2af177e3e8ba94ce7516212
  Author: Yusuke Suzuki <ysuzuki at apple.com>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

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

  Log Message:
  -----------
  [JSC] x64 CCall returnValueGPR is not in m_validGPRs
https://bugs.webkit.org/show_bug.cgi?id=253227
rdar://106127760

Reviewed by Mark Lam.

x64's returnValueGPR is not in m_validGPRs. So we cannot bind it to Location.
We should move it to argumentGPR0 if returnValueGPR is not argumentGPR0, this is kind of a hack and we should
change emitCCall in the future to make it more barebone like DFG's callOperation.

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

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




More information about the webkit-changes mailing list