mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-11 01:22:43 +02:00
Convert the inline-cache fast paths for property load/store to named temps. Both handlers carry a substantial amount of state across the ic-hit check (the boxed base value, its tag, the unboxed Object*, the shape, the PLC pointer, the cached shape and prototype, the property offset, the current and cached dictionary generations, the named-properties pointer, and the loaded value), so giving each piece an explicit name removes a real readability burden. The IC-miss path uses the new 3-operand call_interp form. Notably, PutById's old code carried a "save property offset in t4 before load_operand clobbers t0 (rax)" maneuver -- that is exactly the kind of cross-cut the allocator handles automatically once the offset is named. The migrated handler just keeps using `prop_offset` across the load_operand and the store, no scratch shuffle needed.