JIT: tolerate GT_COMMA in tail call position
authorAndy Ayers <andya@microsoft.com>
Fri, 17 Feb 2017 22:02:12 +0000 (14:02 -0800)
committerAndy Ayers <andya@microsoft.com>
Fri, 17 Feb 2017 22:02:12 +0000 (14:02 -0800)
commite09e70a041c520e70fc0e99560098473bbaad258
treed34c486590311edc652a0ca0f36cd8e64248afd6
parentec3dc198bb147fe569f5d390ab9734359563c9f4
JIT: tolerate GT_COMMA in tail call position

Now that we can tail call from inlined call sites, we may see the call
embedded in a GT_COMMA, if the call's return value is ignored. This triggered
an assert the tail call transformation.

Closes dotnet/coreclr#9641.

Commit migrated from https://github.com/dotnet/coreclr/commit/f54472efaf841cdcaf01dfe6263b91976045dc1e
src/coreclr/src/jit/morph.cpp