Skip to content
This repository was archived by the owner on Nov 13, 2026. It is now read-only.

Make MethodEntrypoint always return IMethodNode - #1087

Merged
MichalStrehovsky merged 2 commits into
dotnet:masterfrom
MichalStrehovsky:jmpStub
Apr 5, 2016
Merged

MichalStrehovsky merged 2 commits into
dotnet:masterfrom
MichalStrehovsky:jmpStub

Conversation

@MichalStrehovsky

Copy link
Copy Markdown
Member
  • We need to be able to distinguish between different methods implemented by the same P/Invoke.
  • Get rid of a bunch of casts and set us on a path to remove the _cppCodeGen special casing.
  • Delete a bunch of NodeCaches - use a big one instead. This saves us from testing all the if's only to find out a node has already been created.
  • Also fixes JumpStubNode doesn't preserve method identity #1083.

We need to be able to distinguish between different methods implemented
by the same P/Invoke.

Fixes dotnet#1083.
This gets rid of a bunch of casts and sets us on a path to remove the
_cppCodeGen special casing.
@jkotas

jkotas commented Apr 5, 2016

Copy link
Copy Markdown
Member

LGTM

@MichalStrehovsky
MichalStrehovsky merged commit 87bc222 into dotnet:master Apr 5, 2016
@MichalStrehovsky
MichalStrehovsky deleted the jmpStub branch April 5, 2016 07:07
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.

JumpStubNode doesn't preserve method identity

3 participants