Repository navigation
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
Closed
mergify[bot] wants to merge 4 commits into
mergify[bot] wants to merge 4 commits into
Conversation
…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
This was referenced Oct 31, 2026
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.
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
changesqueue, to test #2674 and #2675 before they merged intomaster.🎉 What landed
Mergify merged each pull request into
masteron its own, then closed this draft:03aa78f292597aThis draft's code was built in this order:
masterat464df6cMetadata for CI tooling, read by
mergify ci1 scope
coreRequired conditions of queue rule
changesfor mergecheck-success = Conventional Commit titlecheck-success = Queue validationcheck-success = Verify workflow lockfiledepends-on=celox-sim/celox#2674[⛓️ refactor(sv): pass constant functions explicitly instead of installing them #2674 [stack]]master]:check-success = @github-actions/Lint & Formatcheck-neutral = @github-actions/Lint & Formatcheck-skipped = @github-actions/Lint & Formatmaster]:check-success = @github-actions/Rust Test & NAPI Buildcheck-neutral = @github-actions/Rust Test & NAPI Buildcheck-skipped = @github-actions/Rust Test & NAPI Buildmaster]:check-success = @github-actions/JS Test (Ubuntu)check-neutral = @github-actions/JS Test (Ubuntu)check-skipped = @github-actions/JS Test (Ubuntu)master]:check-success = @github-actions/Conventional Commit titlecheck-neutral = @github-actions/Conventional Commit titlecheck-skipped = @github-actions/Conventional Commit titlemaster]:check-success = @github-actions/Queue validationcheck-neutral = @github-actions/Queue validationcheck-skipped = @github-actions/Queue validationmaster]:check-success = @github-actions/Verify workflow lockfilecheck-neutral = @github-actions/Verify workflow lockfilecheck-skipped = @github-actions/Verify workflow lockfileRequired conditions to stay in the queue
-conflict-draft-head ~= ^(integration/|renovate/veryl-crates$|upgrade/veryl-|release-please--branches--master--components--celox$|master$)-head ~= ^renovate/-label = release:holddepends-on=celox-sim/celox#2674[⛓️ refactor(sv): pass constant functions explicitly instead of installing them #2674 [stack]]base ~= ^(master|develop)$base ~= ^stack/body ~= (?m)^Depends-On:head != release-please--branches--master--components--celoxlabel = merge-readymaster]:check-success = @github-actions/Lint & Formatcheck-neutral = @github-actions/Lint & Formatcheck-skipped = @github-actions/Lint & Formatmaster]:check-success = @github-actions/Rust Test & NAPI Buildcheck-neutral = @github-actions/Rust Test & NAPI Buildcheck-skipped = @github-actions/Rust Test & NAPI Buildmaster]:check-success = @github-actions/JS Test (Ubuntu)check-neutral = @github-actions/JS Test (Ubuntu)check-skipped = @github-actions/JS Test (Ubuntu)master]:check-success = @github-actions/Conventional Commit titlecheck-neutral = @github-actions/Conventional Commit titlecheck-skipped = @github-actions/Conventional Commit titlemaster]:check-skipped = @github-actions/Queue validationcheck-neutral = @github-actions/Queue validationcheck-success = @github-actions/Queue validationmaster]:check-success = @github-actions/Verify workflow lockfilecheck-neutral = @github-actions/Verify workflow lockfilecheck-skipped = @github-actions/Verify workflow lockfile