Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 240b9cb9889168bce3fee22e73bf327455a677ff
https://github.com/WebKit/WebKit/commit/240b9cb9889168bce3fee22e73bf327455a677ff
Author: Daniel Liu <[email protected]>
Date: 2025-08-09 (Sat, 09 Aug 2025)
Changed paths:
A JSTests/wasm/stress/omg-tail-call-to-function-with-less-arguments.js
M Source/JavaScriptCore/wasm/WasmOMGIRGenerator.cpp
Log Message:
-----------
OMG wasm->wasm calls need to restore stack pointer
https://bugs.webkit.org/show_bug.cgi?id=293197
rdar://151553598
Reviewed by Keith Miller.
During OMG, we may call a function which tail calls another function, thus
changing the stack pointer. When we return from the tail call, we won't be
in the same stack position, and thus need to restore it. We need to add in
the logic to restore the stack pointer based on the current frame size and
the value of fp.
* JSTests/wasm/stress/omg-tail-call-to-function-with-less-arguments.js: Added.
* Source/JavaScriptCore/wasm/WasmOMGIRGenerator.cpp:
(JSC::Wasm::OMGIRGenerator::addCall):
Originally-landed-as: 289651.530@safari-7621-branch (109e023e12d0).
rdar://157791751
Canonical link: https://commits.webkit.org/298478@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes