Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Relax PInvoke inlining restrictions #8437

Closed
wants to merge 1 commit into from

Commits on Dec 3, 2016

  1. Relax PInvoke inlining restrictions

    - Remove !impLocAllocOnStack() and callRetTyp != TYP_STRUCT PInvoke inlining restrictions that were left-overs from old times (before 2001) when PInvoke inlining was very impoverished and different from regular calls. The argument handling for PInvoke inlining and regular calls is same today. Since regular calls have to deal with these conditions properly, PInvoke inlining gets it for free. Also, these conditions have been exercised by IL stubs where the PInvoke inlining restrictions are ignored.
    
    - Disable CoreCLR-specific PInvoke inlining restriction for CoreRT.
    jkotas committed Dec 3, 2016
    Configuration menu
    Copy the full SHA
    75923e7 View commit details
    Browse the repository at this point in the history