Files
scriptc/tests
Malte Ubl b8ef53cef1 Read construction-only fields of loop receivers once per loop
Outside constructors a final field cannot change: the constructors that
store it are finished or suspended below every other running frame. A loop
reading p.f through a never-rebound parameter (usually this) still reloaded
it after every store or call that might alias the object and hid bounds and
strides such as y < this.h or i - this.w from loop-invariant reasoning. Such
reads now go through an immutable local declared before the outermost loop
containing them. analyzeFinalFields gains a scalar mode, which also treats
in-place numeric updates (fieldIncDec) as writes.
2026-10-16 06:38:44 -07:00
..
2026-07-22 18:08:04 -05:00
2026-10-16 07:31:21 -05:00