-
Notifications
You must be signed in to change notification settings - Fork 5k
Clean up JIT flags #87588
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
Clean up JIT flags #87588
Conversation
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch Issue Detailsnull
|
1. Remove never set CORJIT_MCJIT_BACKGROUND. 2. Remove never checked CORJIT_PINVOKE_RESTORE_ESP (x86 only). Remove related `COMPUTED_IS_PRE_V4_ASSEMBLY`, `IS_PRE_V4_ASSEMBLY`, `IsPreV4Assembly()`. 3. Remove unused CORJIT_FEATURE_SIMD. 4. Remove all the "UNUSED" flags, which only cause clutter. 5. Renumber/pack all the remaining flags. Ensure that all flags have unique numbers, even for different platforms. 6. Add missing flags in a few cases: the JIT/CORJIT equality asserts, mcs "-jitflags" dumpers, `CorJitFlagToString()`, `CorJitFlag` type.
391c36a
to
47bf469
Compare
@AndyAyersMS PTAL @AaronRobinsonMSFT PTAL at the CORJIT_PINVOKE_RESTORE_ESP related change |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great clean-up! Thanks @BruceForstall.
/azp run runtime-coreclr outerloop |
Azure Pipelines successfully started running 1 pipeline(s). |
I updated this to remove all the unused JIT-EE interface methods/types listed in #86672. There is one commit for each item removed. (Maybe this change should be merged without squashing, to preserve that?) |
Test failures all look known or infra. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
Sounds good to me. I am going to merge as rebase. |
❤️ |
COMPUTED_IS_PRE_V4_ASSEMBLY
,IS_PRE_V4_ASSEMBLY
,IsPreV4Assembly()
.numbers, even for different platforms.
dumpers,
CorJitFlagToString()
,CorJitFlag
type.