Do not get the GC layout for small structs in legacy backend.
authorPat Gavlin <pagavlin@microsoft.com>
Wed, 26 Jul 2017 01:15:40 +0000 (18:15 -0700)
committerPat Gavlin <pagavlin@microsoft.com>
Wed, 26 Jul 2017 01:15:40 +0000 (18:15 -0700)
commitd498ad1247c2ffa6aa3ae4584ec71f08dedd0528
tree35f2cb55ddba2c71ca95a48a01fc9132eb5251d0
parentba442a509545b056ac41a5a3c25834c1e4b8b047
Do not get the GC layout for small structs in legacy backend.

Such structs are too small to contain any GC pointers. Synthesize a GC
layout with a single slot of `TYPE_GC_NONE`.

Fixes VSO 469600.
src/jit/codegenlegacy.cpp