ladybird/Tests/LibJS/Bytecode
InvalidUsernameException bb762fb43b LibJS: Do not assume arguments cannot be clobbered
`copy_if_needed_to_preserve_evaluation_order` was introduced in
c372a084a2. At that point function
arguments still needed to be copied into registers with a special
`GetArgument` instructions. Later, in
3f04d18ef7 this 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.
2026-03-08 15:01:07 +01:00
..
expected LibJS: Do not assume arguments cannot be clobbered 2026-03-08 15:01:07 +01:00
input LibJS: Emit ThrowIfTDZ before simple assignment to let variables 2026-03-04 18:53:12 +01:00
output LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00