-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Conversation
PTAL @BruceForstall @pgavlin @dotnet/jit-contrib. |
src/jit/importer.cpp
Outdated
@@ -12814,10 +12814,17 @@ void Compiler::impImportBlockCode(BasicBlock* block) | |||
|
|||
#ifdef FEATURE_CORECLR | |||
// In coreclr the delegate transparency rule needs to be enforced even if verification is disabled |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can delete this whole block instead and the impInsertCalloutForDelegate method. We are not doing any delegate transparency check in CoreCLR anymore. It is left-over from Silverlight in a browser.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not familiar with that enough, but it sounds great. Thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to delete isDelegateCreationAllowed from JitEE interface?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to delete isDelegateCreationAllowed from JitEE interface?
It would be nice. It should be fine to do it together with the next JITEE interface change.
3601a4a
to
962c464
Compare
It became unused after dotnet#10626 (delete GetMethod2).
The description is in #10620 .
I need to delete this methods because I want to add another class inside the union in typeInfo for resolver token. It is necessary for dotnet/corert#2102. All methods that work with typeInfo should check type.