Improve GenTreeUseEdgeIterator.
authorPat Gavlin <pagavlin@microsoft.com>
Thu, 9 Mar 2017 02:45:17 +0000 (18:45 -0800)
committerPat Gavlin <pagavlin@microsoft.com>
Sat, 18 Mar 2017 05:00:30 +0000 (22:00 -0700)
commitb8ad6487ad0912ae658395df2e85130d61d9d049
tree2623df3d4b0edf93166576065d2ea2429e958cc8
parent880fdbad68e4a587c2e1b136839bb5cf0b74cf09
Improve GenTreeUseEdgeIterator.

Instead of executing a rather long set of conditionals on each call
to `GenTreeUseEdge::operator++`, decide on the function that will be
used to advance the iterator's state in the constructor.
src/jit/gentree.cpp
src/jit/gentree.h