[qfcc] Don't use v6p store for assinging to entity.field

Ruamoko has a native addressing mode just for entities.
This commit is contained in:
Bill Currie 2022-01-29 17:05:50 +09:00
parent 10843fe340
commit d61e906cb9

View file

@ -964,7 +964,8 @@ dereference_dst:
return sblock; return sblock;
} }
if (is_entity (dst->type) && ofs && is_field (ofs->type)) { if (options.code.progsversion < PROG_VERSION
&& is_entity (dst->type) && ofs && is_field (ofs->type)) {
// need to get a pointer type, entity.field expressions do not provide // need to get a pointer type, entity.field expressions do not provide
// one directly. FIXME it was probably a mistake extracting the operand // one directly. FIXME it was probably a mistake extracting the operand
// type from the statement expression in dags // type from the statement expression in dags