diff options
Diffstat (limited to 'src/jit/importer.cpp')
-rw-r--r-- | src/jit/importer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jit/importer.cpp b/src/jit/importer.cpp index 50ddc58d89..98aa46d237 100644 --- a/src/jit/importer.cpp +++ b/src/jit/importer.cpp @@ -7842,9 +7842,9 @@ var_types Compiler::impImportCall(OPCODE opcode, /* Set the delegate flag */ call->gtCall.gtCallMoreFlags |= GTF_CALL_M_DELEGATE_INV; - if (callInfo->secureDelegateInvoke) + if (callInfo->wrapperDelegateInvoke) { - call->gtCall.gtCallMoreFlags |= GTF_CALL_M_SECURE_DELEGATE_INV; + call->gtCall.gtCallMoreFlags |= GTF_CALL_M_WRAPPER_DELEGATE_INV; } if (opcode == CEE_CALLVIRT) |