Repository navigation
engine: PROCEDURE-POINTER / FUNCTION-POINTER width (Part of #5694) - #5841
Merged
Merged
Conversation
…rt of #5694) The usage clause regex skipped the two code-pointer usages, so the engine had no usage and no width for them and a record holding one refused in engine/check mode. Read them, treat them as elementary address items, and size them: z/OS 8 / 4 (register C9), or the caller's POINTER width for the translator's target. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 21, 2026 08:11
Contributor
Owner
Author
|
No description provided. |
squid-protocol
enabled auto-merge (squash)
October 21, 2026 08:15
Owner
Author
|
No description provided. |
3 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #5694. Class: record-layout facts the engine can't hand the translator; this slice is the code-pointer usages.
Checklist: done [c:69ba85fb]
Checklist: partial [c:bdcb5557] -- not worked here (no burned program declares POINTER SYNC)
Checklist: partial [c:10702107] -- not worked here (DFHAID, DFHBMSCA, DFHEIBLK, SQLCA, SQLDA)
Change
mainframe_boundary._USAGE_CLAUSEdid not matchPROCEDURE-POINTER/FUNCTION-POINTER(the lookbehind rejects thePOINTERafter the hyphen), so the engine stored no usage and no width. Now read.galaxy_ir: both are PIC-less elementary address items (_PICLESS_USAGES, classA), sized in_elementary_bytes/_sync_boundary: z/OS 8 (procedure) / 4 (function), register C9; a caller passingpointer_bytes(the translator, 8) gets both at that width, asdet/layout._code_pointersreads them.test_code_pointers_have_a_width_the_engine_can_hand_the_translator(single, after-a-BINARY, OCCURS table; check mode agrees at 8; z/OS default widths).Class table
Gates
pr_gates --fast7/7;--ratchets8/8 (none skipped);crucible_checkboth legs PASS with no re-bless (golden unchanged);test_det_engine_layout.py7 pass.Not run: a det-port of epscsmrd itself (its other holes, e.g. SET ... TO ENTRY, stay by name).
🤖 Generated with Claude Code