Fix the arg name/number dumping for call args in LIR
authorBruce Forstall <brucefo@microsoft.com>
Mon, 14 Nov 2016 03:17:36 +0000 (19:17 -0800)
committerBruce Forstall <brucefo@microsoft.com>
Mon, 14 Nov 2016 22:11:09 +0000 (14:11 -0800)
commit9e1887d0d483798e29381e4137489608fee78d41
treee0a695fe84fc51ca0af1dcfcffd300a798b46377
parent3b94ce69f6be0c9144f2f60a93503dd2d7d37072
Fix the arg name/number dumping for call args in LIR

Use the arg number in the arg info table. Before this, I saw cases
where the args were named: arg0, arg1, arg1, arg3, instead of:
arg0, arg2, arg1, arg3, for example.

Commit migrated from https://github.com/dotnet/coreclr/commit/4535df67481edeeefbed21efcaceaf4a504ebcc9
src/coreclr/src/jit/gentree.cpp