Add a generic tree visitor.
authorPat Gavlin <pagavlin@microsoft.com>
Tue, 27 Jun 2017 06:17:30 +0000 (23:17 -0700)
committerPat Gavlin <pagavlin@microsoft.com>
Wed, 28 Jun 2017 17:01:18 +0000 (10:01 -0700)
commitd0fd72af9bedf5330c3b52f0777fffd72a60a7fd
tree7be9c71bf07e9c4b115b5b565e5136268396cdcd
parentec9a86455a7172bdb11f27bd0a062e8d95115b9d
Add a generic tree visitor.

This visitor replaces the function-pointer-based walkers with a more
modern design centered around the curiously-recurring-template pattern.

Commit migrated from https://github.com/dotnet/coreclr/commit/71d4577e35c723c01063a8479efbdc0242a557dc
src/coreclr/src/jit/compiler.h