← board

Target-independent layout RTTI (Tier B)

Description

Replace target-specific assembly-code walkers (for managed record retain/release, nested dynamic array release, and copy-on-write dynamic array cloning) with a generic, relative offset-based layout table (RTTI) traversed by target-independent runtime helpers in builtinheap.pas. This allows managed records and dynamic arrays to work across all target architectures (like i386, ARM32, AArch64) without requiring architecture-specific codegen emitters.

Log