mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-12 09:56:45 +02:00
Add assert_tag and assert_not_tag DSL instructions for checking the upper NaN-boxing tag bits of a value. These lower to assertion-only code in debug and sanitizer builds, so handlers can validate value contracts without adding tag extraction instructions to release builds. The instruction metadata records the hidden scratch register used by each backend so named temporaries cannot overlap the codegen scratch.