Fix local var ref counts in IND/STOREIND decomposition
authorBruce Forstall <brucefo@microsoft.com>
Wed, 24 Aug 2016 00:38:30 +0000 (17:38 -0700)
committerBruce Forstall <brucefo@microsoft.com>
Wed, 24 Aug 2016 00:38:30 +0000 (17:38 -0700)
commit4f1fe1201f80276438f66b6629f9cdf34ce8d538
treeb3c8ee5f424c902bb1251dd87fa7031d255e6c69
parent9dba15fe7eddedd7e17e010eaaacc622137221f4
Fix local var ref counts in IND/STOREIND decomposition

When creating new references to a local variable in long decomposition,
the variable reference count must be incremented.

Fixes dotnet/coreclr#6588

Commit migrated from https://github.com/dotnet/coreclr/commit/9fe631c1ae3ce12b05de6fdcc7eba465be8ec2ec
src/coreclr/src/jit/decomposelongs.cpp
src/coreclr/tests/issues.targets