Skip to content

Conversation

@kg
Copy link
Member

@kg kg commented Sep 16, 2025

Fixes JIT\Regression\CLR-x86-JIT\V1-M09.5-PDC\b28901

@kg kg requested a review from BrzVlad as a code owner September 16, 2025 17:58
Copilot AI review requested due to automatic review settings September 16, 2025 17:58
@kg kg requested a review from janvorli as a code owner September 16, 2025 17:58
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes a bug in the interpreter's call handling where tailcall flags were incorrectly applied to non-marshaled pinvoke calls. The fix suppresses the tailcall optimization when the target is a non-marshaled pinvoke, which resolves a specific regression test failure.

  • Adds conditional logic to disable tailcall for non-marshaled pinvoke targets
  • Removes an assertion that was preventing the code from handling this case properly

@dotnet-policy-service
Copy link
Contributor

Tagging subscribers to this area: @BrzVlad, @janvorli, @kg
See info in area-owners.md if you want to be subscribed.

…ling a marshaled pinvoke should work since the stub is IL)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants