-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Imply NoInlining when only NoOptimization is set #111308
Conversation
Do we need the same change in AOT compilers? |
Oops, changed for AOT too. |
// to mean "I want to always see this method in stacktrace") | ||
if (caller.IsNoInlining) | ||
if (caller.IsNoInlining || caller.IsNoOptimization) |
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.
Is it necessary to check for NoOptimization here? I would expect that the JIT disables tailcall optimizations when the method is marked NoOptimization.
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.
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.
Removed
Closes #111298
Alternatively, we can only change
IsMiNoInlining
's implementation to check either flag.