GcInfo: Don't use slim header for struct-returns
authorSwaroop Sridhar <swaroops@microsoft.com>
Thu, 25 Aug 2016 01:53:42 +0000 (18:53 -0700)
committerSwaroop Sridhar <swaroops@microsoft.com>
Thu, 25 Aug 2016 02:41:43 +0000 (19:41 -0700)
commita12ba4633d0fea6792fcb73ed363f49e336f3f62
tree945cfd971c7723663441a14b5198871e6cd68917
parent9426f7ed702e5b8cbc4ffb0ad89a2ad7a448c56c
GcInfo: Don't use slim header for struct-returns

This checkin has two changes:
1) Add a check to ensure that methods with struct-returns are
use the fat header which encodes ReturnKind in 4 bits.
2) Fix a bug in GetReturnKind().
src/gcinfo/gcinfoencoder.cpp
src/inc/gcinfotypes.h
src/vm/threadsuspend.cpp