Refactor fgComputeLife.
authorPat Gavlin <pagavlin@microsoft.com>
Sun, 31 Jul 2016 21:41:09 +0000 (14:41 -0700)
committerPat Gavlin <pagavlin@microsoft.com>
Mon, 1 Aug 2016 16:47:38 +0000 (09:47 -0700)
commitad87e6327710b5a21a663bb5fcafe4d8317f6690
tree740f182b90b8b25d9d33231c5d495805d50c04a8
parentb872742805b033fb1af53d4f4a7c3f5ec274189a
Refactor fgComputeLife.

- Extract the liveness computations for call and local var nodes out into
  fgComputeLifeCall and fgComputeLifeLocal, respectively.
- Split fgComputeLife into two versions: one for the RyuJIT backend and
  one for the legacy backend. The former leaves out the QMARK/COLON
  processing that is necessary in the latter.

Commit migrated from https://github.com/dotnet/coreclr/commit/02ab8f9fbb223c14eb7faed209618f54a0ba7bfd
src/coreclr/src/jit/compiler.h
src/coreclr/src/jit/liveness.cpp