Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

delete GetMethod2 #10626

Merged
merged 2 commits into from
Apr 1, 2017
Merged

delete GetMethod2 #10626

merged 2 commits into from
Apr 1, 2017

Conversation

sandreenko
Copy link

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.

@sandreenko
Copy link
Author

PTAL @BruceForstall @pgavlin @dotnet/jit-contrib.

@@ -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
Copy link
Member

@jkotas jkotas Mar 31, 2017

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.

Copy link
Author

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.

Copy link
Author

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?

Copy link
Member

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.

@jkotas jkotas merged commit 654c340 into dotnet:master Apr 1, 2017
@sandreenko sandreenko deleted the delete-GetMethod2 branch April 1, 2017 01:38
sandreenko pushed a commit to sandreenko/coreclr that referenced this pull request Jun 3, 2017
It became unused after dotnet#10626 (delete GetMethod2).
@karelz karelz modified the milestone: 2.0.0 Aug 28, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants