Skip to content

Commit

Permalink
Update contracts in jitinterface.
Browse files Browse the repository at this point in the history
  • Loading branch information
jkoritzinsky committed Dec 24, 2020
1 parent e292d62 commit be02606
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions src/coreclr/vm/jitinterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9777,11 +9777,8 @@ namespace
{
CorInfoCallConvExtension getUnmanagedCallConvForSig(CORINFO_MODULE_HANDLE mod, PCCOR_SIGNATURE pSig, DWORD cbSig, bool* pSuppressGCTransition)
{
CONTRACTL {
THROWS;
GC_TRIGGERS;
MODE_PREEMPTIVE;
} CONTRACTL_END;
STANDARD_VM_CONTRACT;

SigParser parser(pSig, cbSig);
ULONG rawCallConv;
if (FAILED(parser.GetCallingConv(&rawCallConv)))
Expand Down Expand Up @@ -9829,11 +9826,7 @@ namespace

CorInfoCallConvExtension getUnmanagedCallConvForMethod(MethodDesc* pMD, bool* pSuppressGCTransition)
{
CONTRACTL {
THROWS;
GC_TRIGGERS;
MODE_PREEMPTIVE;
} CONTRACTL_END;
STANDARD_VM_CONTRACT;

ULONG methodCallConv;
PCCOR_SIGNATURE pSig;
Expand Down

0 comments on commit be02606

Please sign in to comment.