Delete `fgArgInfo::ArgsComplete():hasStackArgs` local var. (dotnet/coreclr#27350)
authorSergey Andreenko <seandree@microsoft.com>
Tue, 22 Oct 2019 16:56:45 +0000 (09:56 -0700)
committerGitHub <noreply@github.com>
Tue, 22 Oct 2019 16:56:45 +0000 (09:56 -0700)
commit74af6fa1252d305bc2d22f3b50fb62f42b32edba
tree5304c4349f6d6b1919745e2b6f06670ca0261a19
parent5ba781368851137e71c75ad690f16c79c4fb2a35
Delete `fgArgInfo::ArgsComplete():hasStackArgs` local var. (dotnet/coreclr#27350)

`fgArgInfo` has a field with the same name and the same function. The duplication happened because the local var was added in 2011 and the struct field was added in 2014.

PVS warning:  The 'hasStackArgs' local variable possesses the same name as one of the class members, which can result in a confusion. morph.cpp 1247

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