Fixed a bad merge issue and some internal API cleanup.
authorLubomir Litchev <lubol@microsoft.com>
Fri, 6 Nov 2015 23:38:06 +0000 (15:38 -0800)
committerLubomir Litchev <lubol@microsoft.com>
Tue, 17 Nov 2015 00:31:18 +0000 (16:31 -0800)
commit57b850fce9bac60e7f3fa47d67606f4fb7ade90f
tree2e16f79dbbf26a10f8440a752072ab47ca736b0d
parentf8b864158f4e674791706feda765bb90c9003b22
Fixed a bad merge issue and some internal API cleanup.

Sometime ago when the SystemVStructs branch was PRed into master a bad
merge has occured.

Some struct classification cleanup for native vs. managed struct layout
representation.

When classifying a native layout of the struct use the following
algorithm.

1. If the struct has special marshaling it has a native layout.
   In such cases the classifier needs to use the native layout.
2. For structs with no native layout, the managed layout should be used
   even if classified for the purposes of marshaling/PInvoke passing.
src/vm/jitinterface.cpp
src/vm/methodtable.cpp
src/vm/methodtable.h
src/vm/methodtablebuilder.cpp