Bug 297899
| Summary: | [JSC][ARM] Fix stack pointer adjustment in JSToWasm | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Mikhail R. Gadelha <mikhail> |
| Component: | JavaScriptCore | Assignee: | Mikhail R. Gadelha <mikhail> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Mikhail R. Gadelha
In JSToWasm, we push 8 bytes to the stack before calling operationJSToWasmEntryWrapperBuildFrame, but when restoring sp, we would pop 16 bytes, leading to corrupted arguments in the jitted function. This PR fixes the issue by pop 8 bytes.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Mikhail R. Gadelha
Pull request: https://github.com/WebKit/WebKit/pull/49880
EWS
Committed 299158@main (0ad56d6165be): <https://commits.webkit.org/299158@main>
Reviewed commits have been landed. Closing PR #49880 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/159192774>