Skip to content

Commit 19e2ae0

Browse files
authored
SPMI: Assert map exists in repGetCookieForPInvokeCalliSig (#118524)
1 parent 54e7818 commit 19e2ae0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/coreclr/tools/superpmi/superpmi-shared/methodcontext.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6112,6 +6112,8 @@ void MethodContext::dmpGetCookieForPInvokeCalliSig(const GetCookieForPInvokeCall
61126112
}
61136113
LPVOID MethodContext::repGetCookieForPInvokeCalliSig(CORINFO_SIG_INFO* szMetaSig, void** ppIndirection)
61146114
{
6115+
AssertMapExistsNoMessage(GetCookieForInterpreterCalliSig);
6116+
61156117
GetCookieForPInvokeCalliSigValue key;
61166118
ZeroMemory(&key, sizeof(key)); // Zero key including any struct padding
61176119
key.cbSig = (DWORD)szMetaSig->cbSig;

0 commit comments

Comments
 (0)