Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove global state in asmcomp/schedgen #12669

Merged
merged 4 commits into from
Oct 16, 2023
Merged

Conversation

smuenzel
Copy link
Contributor

This is similar to #11615, #11601, etc

Global state is removed by creating a type, which also makes it clear when we want to "reset", since now we will create a new value.

@smuenzel smuenzel marked this pull request as ready for review October 16, 2023 12:38
asmcomp/schedgen.ml Outdated Show resolved Hide resolved
asmcomp/schedgen.ml Show resolved Hide resolved
@gasche gasche merged commit 0cdac03 into ocaml:trunk Oct 16, 2023
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants