Reconcile handling of EH vars (#1884)
authorCarol Eidt <carol.eidt@microsoft.com>
Wed, 22 Jan 2020 14:54:24 +0000 (06:54 -0800)
committerGitHub <noreply@github.com>
Wed, 22 Jan 2020 14:54:24 +0000 (06:54 -0800)
commite686c07f81ce49a1a69a372fbb85913c9525cbd6
treebe5d3ee736dfb20b74c74266c93102fc4b02855c
parent2dd815d51c8d27a9ef035cbe0324e41b51072ae5
Reconcile handling of EH vars (#1884)

* Reconcile handling of EH vars

Modify `BasicBlock::hasEHBoundaryIn()` and `BasicBlock::hasEHBoundaryOut()` to reflect what liveness is doing, and adjust the register allocator code appropriately.

It might make sense to extract the code that's basically the same, except that the register allocator doesn't need the `finallyVars` except as validation in the `DEBUG` case.

Fix #1786
src/coreclr/src/jit/block.cpp
src/coreclr/src/jit/block.h
src/coreclr/src/jit/inline.cpp
src/coreclr/src/jit/lsra.cpp