Files
ladybird/Libraries/LibJS/Bytecode
Andreas Kling 123616d8ef LibJS: Migrate scratch-using helper macros to macro-local temps
Convert check_is_double, check_both_double, and box_double_or_int32 to
declare their internal scratch as macro-local `temp` decls instead of
hardcoding t3/t4. Each invocation now gets a freshly uniquified temp
that the allocator places independently of any other live values in
the caller, so adding a `temp` declaration around a sequence that
calls into one of these macros no longer needs to know which
positional slot the macro happened to be using.

box_double_or_int32 in particular is on the hot arithmetic path
(Add/Sub/Mul/PostfixIncrement/etc.), so this opens the door to
migrating those handlers without conflicting with the macro's
internal scratch use.
2026-04-26 13:29:56 +02:00
..
2026-03-20 12:03:36 +01:00
2026-03-20 12:03:36 +01:00
2026-03-20 12:03:36 +01:00
2026-03-20 12:03:36 +01:00