Stop making JitNoRngChecks debug-only
authorJoseph Tremoulet <jotrem@microsoft.com>
Mon, 10 Oct 2016 14:48:56 +0000 (10:48 -0400)
committerJoseph Tremoulet <jotrem@microsoft.com>
Mon, 10 Oct 2016 14:48:56 +0000 (10:48 -0400)
commit6a6c96c5e22d4accdfa9a0e8be24a7ad07e8efa9
tree4c48b25a2657a6221ca181ffcf84c317d1b3f7a8
parentc3781e152ea38f0468777adeea76a5da3d100b44
Stop making JitNoRngChecks debug-only

JitNoRngChecks is a flag, only available in special builds, that removes
all array bounds checks from generated code, which exists solely to
facilitate experiments measuring the cost of bounds checks.  Commit
0aebfbef0 added support for it to RyuJit, but accidentally did so only for
debug builds; release `FEATURE_ENABLE_NO_RANGE_CHECKS` builds are
currently broken.

This change makes the jit flag's definition available in release builds
with `FEATURE_ENABLE_NO_RANGE_CHECKS` defined as well.  The corresponding
code in clrconfigvalues.h already works that way.
src/jit/jitconfigvalues.h