Files
SingleAccretion b36548cae1 Make field nodes unary (#60105)
* Make GenTreeField a unary op

There is no reason for it to be a GTK_SPECIAL op, a concept that
is needed only for nodes with special operand iteration semantics.

There is a quirk in this change, in gtCloneExpr, it is needed to
make this commit a zero-diff one (which it is).

* Remove the quirk

The old implementation of cloning for fields had
an interesting hidden pessimization in it: it set
GTF_GLOB_REF unnecessarily on the cloned tree, even
if the original tree did not have the flag.

This was because "gtNewFldRef", when passed "nullptr"
for the "FldObj", added the aforementioned GTF_GLOB_REF
to the node, presuming it was a static field access.

But we do not need to do that, and this commits removes
the quirk, getting some good diffs in the process.
2021-10-07 10:47:07 -07:00
..
2021-08-17 14:39:52 -07:00
2021-10-07 10:47:07 -07:00
2021-10-07 10:15:59 +02:00