refactor(B6.2): move Obj-C defined-class emission to lower/objc_class.zig

Verbatim relocation of the 23-method defined-class cluster (IMP/property
emission: class/alloc/static/dealloc IMPs, property getters/setters +
ARC runtime decls, defined-state field access, property/method chain
lookup, string-constant globals) plus the single-home
ObjcDefinedStateField type into src/ir/lower/objc_class.zig. 23 aliases
on Lowering keep all call sites (incl. expr_typer.zig facade and
lower/stmt.zig) unchanged. Zero pub-flips — all callees were already
public from earlier steps.

Gate: zig build OK; zig build test 426/426; run_examples 541/0; all 37
.ir snapshots byte-identical, zero expected/ churn.
This commit is contained in:
agra
2026-06-10 14:14:49 +03:00
parent 638a048cc5
commit b163c4a3fc
2 changed files with 1355 additions and 1280 deletions

File diff suppressed because it is too large Load Diff

1329
src/ir/lower/objc_class.zig Normal file

File diff suppressed because it is too large Load Diff