Remove unnecessary update of RegRecord in LSRA (dotnet/coreclr#12474)
authorHyung-Kyu Choi <hk0110.choi@samsung.com>
Sat, 1 Jul 2017 00:11:52 +0000 (09:11 +0900)
committerBruce Forstall <brucefo@microsoft.com>
Sat, 1 Jul 2017 00:11:52 +0000 (17:11 -0700)
commit0ede82e132c76e40416ba92c0ee0282e39097618
treeed121f47cbdefcdc5f4ad2efd20cb9c764f7656e
parentbe47cb250ab6a7ef414c01ee3b7a61a023900101
Remove unnecessary update of RegRecord in LSRA (dotnet/coreclr#12474)

* Remove unnecessary update of RegRecord

We don't need to clear assignedInterval of regRec,
because it was already cleared by checkAndClearInterval() above.

Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
* Apply review feedback

- Add a assertion and comment for the assertion

Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/f0d3c439dc16a3218d53578f14c973696de04cb1
src/coreclr/src/jit/lsra.cpp