Fix for issue 5795
authorBrian Sullivan <briansul@microsoft.com>
Thu, 16 Jun 2016 17:06:55 +0000 (10:06 -0700)
committerBrian Sullivan <briansul@microsoft.com>
Fri, 17 Jun 2016 18:37:50 +0000 (11:37 -0700)
commit0809be00850fec3eca9a968d36750fc44d69e2f3
treebada45a7285e1e74a982b321519bee1599b1c72a
parentb387b6eb6f4e1ddf4c20aece8d1508d011915c4c
Fix for issue 5795

We incorrectly pass the ret buf arg in x9 instead of x8

It is required that we call SortArgs and EvalArgsToTemps whenever we have any register arguments
We were not doing that when we only had a retBufArg argument in x8.

Fix for UNIX_AMD64 structs
src/jit/compiler.h
src/jit/morph.cpp