Skip to content
This repository was archived by the owner on Aug 6, 2025. It is now read-only.
This repository was archived by the owner on Aug 6, 2025. It is now read-only.

debug checks for lqref usage #8

Description

@sgraham

lqrefs are references into the current Fn, this can be error prone as it's easy to try to cache them across lq_func_start/ends.

one possible solution would be to use a few bits at the top of lqref.u as a generation counter (for each lq_func_start). even only 4 bits would probably catch almost all accidental misuses.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions