Split the call rules of rpg_source.zig into rpg_source_calls_emit.zig #701
Loading…
Reference in a new issue
No description provided.
Delete branch "l9-emitter-calls-split"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Split the call rules of rpg_source.zig into rpg_source_calls_emit.zig
The call region of the
Emitterin src/core/rpg_source.zig moves to the peermodule src/core/rpg_source_calls_emit.zig:
dateCallthroughmoduleProcedure(the DATE return of a call, the copy from a pointer, the packed template of an
EVAL, the field of a storage, the subroutine symbols, the program and checked
program calls, the module and imported procedure calls). The moved bodies are
unchanged; the only edits are
pubon the moved functions and on the host namesthey use. The Emitter keeps one
pub const x = calls.x;alias per moved method,so every caller in rpg_source.zig is unchanged.
No behavior change. The proof is
emit-bytes-diff.sh: every emitted*.rpgleand
*.rpgle.ddsis byte-identical, and the forms.ndjson projection is equal,for the merge-base binary and this commit's binary on the same data tree.
Gates