Remove unnecessary bitvec allocation in assertion prop
authorMike Danes <onemihaid@hotmail.com>
Fri, 16 Jun 2017 18:50:07 +0000 (21:50 +0300)
committerMike Danes <onemihaid@hotmail.com>
Fri, 16 Jun 2017 18:50:07 +0000 (21:50 +0300)
commitd9664b2d57c16471ca517434d9e1daeae63fd3cd
treed0c03bd4e1becfd73cdf4344000734b49e4cb0e3
parentf558a2d0e75c72ed2f12745ecdaf1c11a15a3467
Remove unnecessary bitvec allocation in assertion prop

optVnNonNullPropCurStmt is called for each node and every time it allocates an empty BitVec because optNonNullAssertionProp_Call and optAssertionProp_Ind require it, they are also used in other code paths that do provide a non-empty BitVec.

Commit migrated from https://github.com/dotnet/coreclr/commit/53cc741cb949c540834172ee0e813a01bdcfae28
src/coreclr/src/jit/assertionprop.cpp