Make sure code data-type doesn't become concrete

This commit is contained in:
caheckman 2019-11-13 09:39:21 -05:00
parent 074e3ca869
commit f00e2a6e84
5 changed files with 54 additions and 20 deletions

View file

@ -513,7 +513,7 @@ void ScopeLocal::createEntry(const RangeHint &a)
{
Address addr(space,a.start);
Address usepoint;
Datatype *ct = a.type;
Datatype *ct = glb->types->concretize(a.type);
int4 num = a.size/ct->getSize();
if (num>1)
ct = glb->types->getTypeArray(num,ct);