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

Enhance virtual function resolution logic to be roughly correct.#27

Merged
davidwrighton merged 3 commits into
dotnet:masterfrom
davidwrighton:find_virtual_function
Oct 6, 2015
Merged

Enhance virtual function resolution logic to be roughly correct.#27
davidwrighton merged 3 commits into
dotnet:masterfrom
davidwrighton:find_virtual_function

Conversation

@davidwrighton
Copy link
Copy Markdown
Member

  • Add new api surface to MetadataType to allow MethodImpls to be queried
  • Add new TypeSystemHelpers to allow finding of functions in similar type hierarchies (that only differ by instantiation
  • Update the compilation logic to use new virtual function discovery logic
  • Implement a first implementation of non-vtable based virtual function discovery. This implementation has been simulated in our pre-existing type system to be very similar to vtable based function discovery.

- Add new api surface to MetadataType to allow MethodImpls to be queried
- Add new TypeSystemHelpers to allow finding of functions in similar type hierarchies (that only differ by instantiation
- Update the compilation logic to use new virtual function discovery logic
- Implement a first implementation of non-vtable based virtual function discovery. This implementation has been simulated in our pre-existing type system to be very similar to vtable based function discovery.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This method does not belong here. It would be nice to move it to more appropriate place while you are on it - maybe VirtualFunctionResolution.cs?

@MichalStrehovsky
Copy link
Copy Markdown
Member

LGTM otherwise

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

static?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea. Done.

davidwrighton added a commit that referenced this pull request Oct 6, 2015
Enhance virtual function resolution logic to be roughly correct.
@davidwrighton davidwrighton merged commit 9ceb458 into dotnet:master Oct 6, 2015
@davidwrighton davidwrighton deleted the find_virtual_function branch October 6, 2015 22:24
@dlewis-arcontech dlewis-arcontech mentioned this pull request Nov 7, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants