Spmi second cleaning (dotnet/coreclr#12402)
authorSergey Andreenko <seandree@microsoft.com>
Wed, 21 Jun 2017 23:20:37 +0000 (16:20 -0700)
committerGitHub <noreply@github.com>
Wed, 21 Jun 2017 23:20:37 +0000 (16:20 -0700)
commit55a4b1153f51d233935eb7b751997afd197f64d2
tree9697f6bb9bf7d72cd0e3562bd4639209f076aab8
parenta2f57837621cad0f6ae8193ec065768baefda456
Spmi second cleaning (dotnet/coreclr#12402)

* don't init zero-init struct with nulls.

* Clean spmi code for GetTokenTypeAsHandle and GetCastingHelper

* Clean spmi GetVarArgsHandle and CanGetVarArgsHandle

* Clean GetCookieForPInvokeCalliSig and CanGetCookieForPInvokeCalliSig

* clean spmi GetNewHelper

* clean spmi GetArgType

* clean spmi GetArgClassValue

Commit migrated from https://github.com/dotnet/coreclr/commit/efc4758140f2f0b856d97fc847415a22c8dfefc9
src/coreclr/src/ToolBox/superpmi/superpmi-shared/lwmlist.h
src/coreclr/src/ToolBox/superpmi/superpmi-shared/methodcontext.cpp
src/coreclr/src/ToolBox/superpmi/superpmi-shared/methodcontext.h