Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JSC] Use ExtendedOffsetAddr if normal Addr with SP/FP failed for Patch
https://bugs.webkit.org/show_bug.cgi?id=249553 rdar://103492366 Reviewed by Justin Michaud. Patchpoint requires that all stack arguments needs to be represented as "SP + offset" or "FP + offset". But in AirLowerStackArgs, we are incorrectly lowering this to "LR + offset" if offset is too large. We should use a bit suboptimal ExtendedOffsetAddr for that case to ensure that they are still "FP + offset" form. This fixes debug assertion failure in call.wast.js, happening after 257974@main. * Source/JavaScriptCore/b3/air/AirLowerStackArgs.cpp: (JSC::B3::Air::lowerStackArgs): Canonical link: https://commits.webkit.org/258083@main
- Loading branch information