Fix a hole in the GC generated for PutArgStructStk.
authorLubomir Litchev <lubol@microsoft.com>
Mon, 22 Feb 2016 22:45:53 +0000 (14:45 -0800)
committerLubomir Litchev <lubol@microsoft.com>
Tue, 23 Feb 2016 01:07:27 +0000 (17:07 -0800)
commit21db33e10cfee04f914fdaceefa1ed2fd2ad1f52
treefe2c63341adc2e9c265ffd8b7be39be1624a3579
parent284729c614bd87dc7db2834dbcde909fd4275116
Fix a hole in the GC generated for PutArgStructStk.

On System V there is a hole (tanks @CarolEidt for pointing it out) where
while copying struct to the stack in the OutgoingParamArea the GC-ness
for the register used to copy the struct is not  properly set.
This change fixes the issue.

This change also makes sure when copying to/from stack, an emitAttr of
EA_PTRSIZE is used - stack variables are never moved by GC, so using this
type in such case should is fine.
src/jit/codegenxarch.cpp