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 noop option gc:v2 #19810

Merged
merged 4 commits into from
Jun 10, 2022
Merged

remove noop option gc:v2 #19810

merged 4 commits into from
Jun 10, 2022

Conversation

ringabout
Copy link
Member

@ringabout ringabout commented May 20, 2022

@@ -304,20 +304,10 @@ proc setLengthSeq(seq: PGenericSeq, elemSize, elemAlign, newLen: int): PGenericS
when not defined(boehmGC) and not defined(nogc) and
not defined(gcMarkAndSweep) and not defined(gogc) and
not defined(gcRegions):
when false: # deadcode: was used by `compileOption("gc", "v2")`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like an unrelated improvement that I don't understand. Please explain.

Copy link
Member Author

@ringabout ringabout May 24, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed the when false branch which is marked as dead code and used by gc:v2 =>

when false: # deadcode: was used by `compileOption("gc", "v2")`
which shouldn't have actual effects. I didn't touch the other branch.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The GitHub diff cannot show the actual changes reliably.

@Araq Araq merged commit 8cde6ba into nim-lang:devel Jun 10, 2022
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.

2 participants