JIT: fast path for minopts/debug codegen in lvaMarkRefs (#19103)
authorAndy Ayers <andya@microsoft.com>
Tue, 31 Jul 2018 21:31:28 +0000 (14:31 -0700)
committerGitHub <noreply@github.com>
Tue, 31 Jul 2018 21:31:28 +0000 (14:31 -0700)
commit46b1ebabe1536ece7b808407af1f6d1dc5b1ba73
treeebdf201712c28a187174f69194859758c0d04ef6
parent369e9a97ee0cce00532a03924f98723b17b4aa01
JIT: fast path for minopts/debug codegen in lvaMarkRefs (#19103)

For minopts and debug codegen, consider all locals to be implicitly
referenced.

This is set up during `lvaMarkLocalVars` and maintained after that
by having `incRefCnts` set the implicit reference bit and not doing
anything in `decRefCnts` for minopts / debug.

Likewise suppress local var sorting, as we don't have accurate counts
to go by.
src/jit/compiler.hpp
src/jit/flowgraph.cpp
src/jit/lclvars.cpp
src/jit/morph.cpp