Refactor genPutStructArgStk for clarity.
authorPat Gavlin <pagavlin@microsoft.com>
Fri, 7 Oct 2016 17:38:48 +0000 (10:38 -0700)
committerPat Gavlin <pagavlin@microsoft.com>
Fri, 7 Oct 2016 17:46:50 +0000 (10:46 -0700)
commit59fa4828ac9131eb8ca69bd9623c9ba6a4c2ba8c
treee8b03288e4ecdf78ffa2e0aeb36982aaef2e2eb4
parent3647f2f46870fcd397559ba2800bfd7e2eb634a3
Refactor genPutStructArgStk for clarity.

This also contains a minor CQ improvement: instead of always
incrementing the source and destination pointers when copying a struct
argument to the stack, we now only do so if there are more slots to
copy.

Commit migrated from https://github.com/dotnet/coreclr/commit/532e9bfbfaf2ec45bbc3f4a9d9df259b12030084
src/coreclr/src/jit/codegenlinear.h
src/coreclr/src/jit/codegenxarch.cpp