Skip to content

merge queue: merged #2674, #2675: refactor(sv): pass constant functions explicitly instead of installing them (+1 more) - #2698

Closed
mergify[bot] wants to merge 4 commits into
masterfrom
mergify/merge-queue/c3208cc8cd
Closed

mergify[bot] wants to merge 4 commits into
masterfrom
mergify/merge-queue/c3208cc8cd

Conversation

@mergify

@mergify mergify Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Note

This is a merge queue draft opened by Mergify. Its pull requests have merged, and nobody needs to act on it.
Mergify opened it for batch considerable-saucisse-urf2qi of the changes queue, to test #2674 and #2675 before they merged into master.

🎉 What landed

Mergify merged each pull request into master on its own, then closed this draft:

  • #2674 refactor(sv): pass constant functions explicitly instead of installing them (tignear), as 03aa78f
  • #2675 refactor(sv): carry interface instances and time scopes in the context (tignear), as 292597a

This draft's code was built in this order:

  1. master at 464df6c
  2. #2674 + #2675, the pull requests of this batch, tested together as one tip
Metadata for CI tooling, read by mergify ci
---
all_scopes: false
checking_base_sha: 464df6cfafaa6c7efe7da8929fba0ed498ee345d
previous_check_retries: []
previous_failed_batches: []
pull_requests:
  - number: 2674
    scopes:
      - core
  - number: 2675
    scopes:
      - core
scopes:
  - core
...
1 scope
  • core
Required conditions of queue rule changes for merge
  • check-success = Conventional Commit title
  • check-success = Queue validation
  • check-success = Verify workflow lockfile
  • depends-on=celox-sim/celox#2674 [⛓️ refactor(sv): pass constant functions explicitly instead of installing them #2674 [stack]]
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Lint & Format
    • check-neutral = @github-actions/Lint & Format
    • check-skipped = @github-actions/Lint & Format
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Rust Test & NAPI Build
    • check-neutral = @github-actions/Rust Test & NAPI Build
    • check-skipped = @github-actions/Rust Test & NAPI Build
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/JS Test (Ubuntu)
    • check-neutral = @github-actions/JS Test (Ubuntu)
    • check-skipped = @github-actions/JS Test (Ubuntu)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Conventional Commit title
    • check-neutral = @github-actions/Conventional Commit title
    • check-skipped = @github-actions/Conventional Commit title
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Queue validation
    • check-neutral = @github-actions/Queue validation
    • check-skipped = @github-actions/Queue validation
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Verify workflow lockfile
    • check-neutral = @github-actions/Verify workflow lockfile
    • check-skipped = @github-actions/Verify workflow lockfile
Required conditions to stay in the queue

tignear and others added 4 commits October 31, 2026 16:11
…g them

The constant functions visible in a scope were installed into the shared
analysis state behind a RefCell, swapped by guards and tracked by a
revision, and the evaluator kept its call depth and the fuel and two-state
mode of runtime evaluation in Cells of the same state. The functions are
now a value of the analysis context, which entering a module, a generate
block or an interface scope derives with the functions it sees, and the
constant evaluator takes them as an argument. The depth, fuel and mode are
a budget each evaluation owns and lends to its frames, and a call's frame
sees the constants of its caller's scope rather than the caller's frame.
Code that evaluates constants of an analyzed module takes a context with
the module's functions.

Change-Id: Icbacebc1ba8721afe2ea0352b393fe06ff625091
The interface instances being analyzed, whether generate scopes elaborate
only their items, the time scopes of the source being analyzed and the
path of the interface instance were installed into the shared analysis
state behind Cells and RefCells, swapped by guards and tracked by
revisions that invalidated memoized elaborations. They are now values of
the analysis context that entering an interface instance or a source
derives, and the elaboration memo keys entries by them, so the revision
counters are gone.

Change-Id: I5b8ff269863165472c661c98e89dc8a9ee7c0c82
@mergify mergify Bot changed the title merge queue: checking #2674 + #2675 together on master (464df6c) merge queue: merged #2674, #2675: refactor(sv): pass constant functions explicitly instead of installing them (+1 more) Oct 31, 2026
@mergify mergify Bot closed this Oct 31, 2026
@mergify
mergify Bot deleted the mergify/merge-queue/c3208cc8cd branch October 31, 2026 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant