Refactor GenTree assertion information storage
authorMike Danes <onemihaid@hotmail.com>
Sat, 11 Mar 2017 09:04:04 +0000 (11:04 +0200)
committerMike Danes <onemihaid@hotmail.com>
Mon, 20 Mar 2017 21:26:27 +0000 (23:26 +0200)
commit9de82a767093855b1f50f3ee8f9aff3b3c439e53
treebffe3fe72ce554923ff2b51232c0279f89a2e391
parent1cf4e9c5e73a74355f6aae8c67dff03e7ba20f5b
Refactor GenTree assertion information storage

Stealing a bit from gtAssertionNum is ugly  and error prone (e.g. bool HasAssertion() { return gtAssertionNum != 0; } is incorrect if the edge bit is set).

Commit migrated from https://github.com/dotnet/coreclr/commit/d6b17aa51b29f756a7aa4061d171636d6da3d030
src/coreclr/src/jit/assertionprop.cpp
src/coreclr/src/jit/compiler.h
src/coreclr/src/jit/gentree.cpp
src/coreclr/src/jit/gentree.h
src/coreclr/src/jit/rangecheck.cpp