JIT: ignore pinning of non-gc types (#24010)
authorAndy Ayers <andya@microsoft.com>
Wed, 17 Apr 2019 21:23:11 +0000 (14:23 -0700)
committerGitHub <noreply@github.com>
Wed, 17 Apr 2019 21:23:11 +0000 (14:23 -0700)
commitea12523aaca4f8dd2f2e877d0998b72d9a34de91
treee59f063173a18c2bbbbc8fb6fb9bc4ddbdfce7eb
parent4f00e74c1c884060511a85ed71926aef85d830fc
JIT: ignore pinning of non-gc types (#24010)

We may see pin modifiers on locals that are not gc types.
Ignore these modifiers.

Closes #23950.

Also added a missing copyright header on an unrelated test.
src/jit/importer.cpp
src/jit/lclvars.cpp
tests/src/JIT/Regression/JitBlue/GitHub_23411/GitHub_23411.il
tests/src/JIT/Regression/JitBlue/GitHub_23950/GitHub_23950.il [new file with mode: 0644]
tests/src/JIT/Regression/JitBlue/GitHub_23950/GitHub_23950.ilproj [new file with mode: 0644]