mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 12:07:14 +02:00
`copy_if_needed_to_preserve_evaluation_order` was introduced inc372a084a2. At that point function arguments still needed to be copied into registers with a special `GetArgument` instructions. Later, in3f04d18ef7this was changed and arguments were made their own operand type that can be accessed directly instead. Similar to locals, arguments can also be overwritten due to evaluation order in various scenarios. However, the function was never updated to account for that. Rectify that here. With this change, https://volkswagen.de no longer gets blanked shortly after initial load and the unhandled JS exception spam on that site is gone too.
83 KiB
83 KiB