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 unused jl_get_ptls_states_wrapper, update comments #39066

Merged
merged 1 commit into from
Jan 13, 2021

Conversation

fingolfin
Copy link
Member

Since jl_get_ptls_states_wrapper is static, it can't be called by outside code.

For some context: that function and the comments were added in as part of an optimization in PR #17220 by @yuyichao, but the code accessing it was removed in PR #38160 by @staticfloat.

I am not sure how much of the remaining comment is actually accurate, perhaps more of it ought to be removed.

Resolves #38924

@fingolfin
Copy link
Member Author

@yuyichao Could you please elaborate on your "thumbs down"? I would absolutely not be surprised if this PR is the wrong way to go, and instead jl_get_ptls_states_wrapper should somehow be used again, but it would be good to have that explicitly stated?

@fingolfin fingolfin closed this Jan 5, 2021
@fingolfin fingolfin reopened this Jan 5, 2021
@fingolfin fingolfin force-pushed the mh/jl_get_ptls_states_wrapper branch from 78094e8 to 1033595 Compare January 5, 2021 23:14
@fingolfin fingolfin force-pushed the mh/jl_get_ptls_states_wrapper branch from 1033595 to b6f368b Compare January 7, 2021 23:38
Since jl_get_ptls_states_wrapper is static, it can't be called by outside code.
@fingolfin fingolfin force-pushed the mh/jl_get_ptls_states_wrapper branch from b6f368b to 96485a4 Compare January 13, 2021 11:07
@vtjnash vtjnash merged commit 7a1a325 into JuliaLang:master Jan 13, 2021
ElOceanografo pushed a commit to ElOceanografo/julia that referenced this pull request May 4, 2021
…39066)

Since jl_get_ptls_states_wrapper is static, it can't be called by outside code.
antoine-levitt pushed a commit to antoine-levitt/julia that referenced this pull request May 9, 2021
…39066)

Since jl_get_ptls_states_wrapper is static, it can't be called by outside code.
@fingolfin fingolfin deleted the mh/jl_get_ptls_states_wrapper branch July 7, 2021 10:01
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.

Should jl_get_ptls_states_wrapper be extern instead of static?
3 participants