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

codegen: remove obsolete mReset support #827

Merged

Conversation

zerbina
Copy link
Collaborator

@zerbina zerbina commented Aug 6, 2023

Summary

Remove the code generation logic for the unused mReset magic from all
three code generators.

Details

With the last usage of specializeReset gone, the ccgreset module
is obsolete now and thus removed. The parentObj procedure previously
defined in the module is inlined at the single callsite in ccgexprs.

Summary
=======

Remove the code generation logic for the unused `mReset` magic from all
three code generators.

Details
=======

With the last usage of `specializeReset` gone, the `ccgreset` module
is obsolete now and thus removed. The `parentObj` procedure previously
defined in it is inlined at its single callsite in `ccgexprs`.
@zerbina zerbina added compiler/backend Related to backend system of the compiler simplification Removal of the old, unused, unnecessary or un/under-specified language features. labels Aug 6, 2023
@zerbina zerbina added this to the MIR phase milestone Aug 6, 2023
@saem
Copy link
Collaborator

saem commented Aug 7, 2023

/merge

@github-actions
Copy link

github-actions bot commented Aug 7, 2023

Merge requested by: @saem

Contents after the first section break of the PR description has been removed and preserved below:


@chore-runner chore-runner bot added this pull request to the merge queue Aug 7, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Aug 7, 2023
@zerbina
Copy link
Collaborator Author

zerbina commented Aug 8, 2023

/merge

@chore-runner chore-runner bot added this pull request to the merge queue Aug 8, 2023
Merged via the queue into nim-works:devel with commit 68bc1b7 Aug 8, 2023
18 checks passed
@zerbina zerbina deleted the codegen-remove-mreset-support branch August 8, 2023 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler/backend Related to backend system of the compiler simplification Removal of the old, unused, unnecessary or un/under-specified language features.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants