Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • sac2c sac2c
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 418
    • Issues 418
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 19
    • Merge requests 19
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • sac-group
  • sac2csac2c
  • Merge requests
  • !637

Draft: Add instance-based dispatch AST infrastructure

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Ruben Hensen requested to merge rhensen/sac2c:progressive-dispatch-clean into develop Apr 12, 2026
  • Overview 0
  • Commits 17
  • Changes 91

Replace FUNDEF_WRAPPERTYPE (ntype*) with FUNDEF_INSTANCES (instances_t*) and FUNDEF_WRAPPER (node* back-reference) for progressive dispatch.

  • Add WrapperLink and Instances attribute types to ast.xml
  • Replace FUNDEF_WRAPPERTYPE attribute with FUNDEF_WRAPPER and FUNDEF_INSTANCES
  • Add FUNDEF flags: IsBaseTypeWrapperfun, IsZombieWrapper, JustSpecialisedInTUP
  • Remove UWT (Update Wrapper Types) and EWT (Extend Wrapper Types) traversals and their phase definitions in phase_sac2c.mac and phase_sac4c.mac
  • Add instances_t typedef to types.h
  • Add dispatch/instances.c to CMakeLists.txt, remove obsolete ct_fun.c, update_wrapper_type.c, extend_wrapper_types.c
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: progressive-dispatch-clean