Backend-FFI .ir inventory + scaffolding for the Obj-C/JNI runtime-constructor extraction (Phase A7.3). No code moved. Inventory (recorded in ARCH-SAFETY.md): the existing FFI .ir set already pins the core constructor emission — emitObjcSelectorInit (sel_registerName via 1309/1329/ 1332), emitObjcClassInit (objc_getClass), emitObjcDefinedClassInit class registration + ivars + method IMP table (objc_allocateClassPair / class_addIvar / class_addMethod / objc_registerClassPair via 1309/1332), and getOrCreateJniSlots / emitJniConstructor (GetMethodID via 1402/1418/1408). Gaps closed (2 new .ir snapshots) for the ARCH-SAFETY-named metadata not covered by 1309: - 1319-ffi-objc-property-sx-defined: property getter/setter IMPs (_get/_set/ class_addMethod x8). - 1314-ffi-objc-class-dealloc-roundtrip: alloc/dealloc IMPs. Both path-free + idempotent (verified across two captures; trailing newline trimmed). Suite count unchanged (snapshots on existing examples). Gate: zig build, zig build test, bash tests/run_examples.sh -> 361/0 (no churn beyond the 2 new .ir).
45 KiB
45 KiB