refactor(B6.1): move Obj-C/JNI call lowering to lower/ffi.zig
Verbatim relocation of the 24-method FFI cluster (selector/class-object interning, FFI intrinsic + JNI calls, foreign instance/static method lowering, super calls, foreign-class registration, Obj-C defined-class method registration, JNI env TLS fids, JNI main-stub synthesis) plus the file-scope jniMapParamType (no alias needed — all callers moved) into src/ir/lower/ffi.zig. 24 aliases on Lowering keep all call sites unchanged. Method pub-flips: emitObjcDefinedAllocAndInit, findForeignMethodInChain. 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:
1187
src/ir/lower.zig
1187
src/ir/lower.zig
File diff suppressed because it is too large
Load Diff
1205
src/ir/lower/ffi.zig
Normal file
1205
src/ir/lower/ffi.zig
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user