[ARM32/RyuJIT] Enable passing struct argument that use stack only (dotnet/coreclr...
authorHyeongseok Oh <hseok82.oh@samsung.com>
Mon, 22 May 2017 16:42:10 +0000 (01:42 +0900)
committerBruce Forstall <brucefo@microsoft.com>
Mon, 22 May 2017 16:42:10 +0000 (09:42 -0700)
commit0273fb3d0b230ba7e5a59fa19dc268ff04505085
treeb196807d72e6c78a7791af14c8e077caed94d11d
parentd5e5fb9e3a21dfaa7d4e1648dabb6714c651c58a
[ARM32/RyuJIT] Enable passing struct argument that use stack only (dotnet/coreclr#11541)

* [ARM32/RyuJIT] Enable passing struct argument that use stack only

Enable passing struct argument when it uses stack only.
Cannot pass splitted struct argument that uses stack and register(s) yet.

* Remove redundant GC type assignment and fix internal register count

- Remove redundant GC type assignment in genPutArgStk
- Fix internal register count for ARM32: 2 -> 1

Commit migrated from https://github.com/dotnet/coreclr/commit/4349824ed5da261f408042a6a023e080ff3e71db
src/coreclr/src/jit/codegenarmarch.cpp
src/coreclr/src/jit/lsraarm.cpp
src/coreclr/src/jit/lsraarmarch.cpp