Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[JSC] x64 CCall returnValueGPR is not in m_validGPRs #10924

Conversation

Constellation
Copy link
Member

@Constellation Constellation commented Mar 2, 2023

@Constellation Constellation requested a review from a team as a code owner March 2, 2023 07:05
@Constellation Constellation self-assigned this Mar 2, 2023
@Constellation Constellation added the JavaScriptCore For bugs in JavaScriptCore, the JS engine used by WebKit, other than kxmlcore issues. label Mar 2, 2023
Copy link

@MenloDorian MenloDorian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r=me

@Constellation Constellation added the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label Mar 2, 2023
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
@webkit-early-warning-system webkit-early-warning-system force-pushed the eng/JSC-x64-CCall-returnValueGPR-is-not-in-m_validGPRs branch from 1d95e52 to adae6f1 Compare March 2, 2023 07:59
@webkit-commit-queue
Copy link
Collaborator

Committed 261048@main (adae6f1): https://commits.webkit.org/261048@main

Reviewed commits have been landed. Closing PR #10924 and removing active labels.

@webkit-early-warning-system webkit-early-warning-system merged commit adae6f1 into WebKit:main Mar 2, 2023
@webkit-commit-queue webkit-commit-queue removed the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
JavaScriptCore For bugs in JavaScriptCore, the JS engine used by WebKit, other than kxmlcore issues.
Projects
None yet
4 participants