fix(ezitext): align Chinese table-address return contract #1092
Reference in New Issue
Block a user
Delete Branch "agent/bittle/chinese-table-return"
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?
Source-contract correction, no percentage gain
The Chinese caller unit declares Zi8GetTableAddress as returning ziPtr, incompatible with the existing exact definition's ziU32 return. Match that declaration and add 14 explicit consumer-typed conversions: twelve ziU8* and two ziU16*. Existing casts and all operations, argument values, conditions, scopes, ordering, callee definitions and configuration remain unchanged.
This follows the existing definition; original machine code proves full-width return flow, not a uniquely recoverable original integer-versus-pointer type spelling.
Independent parent validation
Fresh parent worktree/full default build on
3dd12f63de. Tested tree:be85da5869.The older gM17 byte-pointer return trial failed on a legitimate halfword consumer; this correction preserves both halfword consumer types. No runtime behavior improvement or missing operation is claimed. Object identity is the emitted-code neutrality evidence, not a full dictionary-runtime test.
Evidence: tools/decomp-assist/chinese-table-address-contract-20261003.md. No original binaries/disassembly uploaded. Draft for human review; no merge or auto-merge requested.
Reviewed and merged: rebased on main, full build ok, DOL sha1 26116613f624061ba99c8d1a299aaa6efa85670d, 0 regressions, 0 forbidden patterns.