-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Support devirtualization for virtual methods that require an instantiating stub #128702
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
hez2010
wants to merge
68
commits into
dotnet:main
Choose a base branch
from
hez2010:devirt-instantiating-stub-coreclr
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+712
−59
Open
Changes from all commits
Commits
Show all changes
68 commits
Select commit
Hold shift + click to select a range
61a278f
Devirtualize virtual methods that require an instantiating stub
hez2010 f01f4f4
R2R support
hez2010 b42c291
Bail shared MT for generic DIM as well
hez2010 b96fc2e
Stop returning an instantiating stub
hez2010 de840c2
Nit
hez2010 181e88e
Nit 2
hez2010 9331cc1
Remove redundant empty line
hez2010 f635686
Generic DIM devirt for NativeAOT
hez2010 5da42c5
Meh
hez2010 66c8d6a
More NativeAOT support
hez2010 152c44a
Address an assertion
hez2010 466ba2c
Use IsSharedByGenericMethodInstantiations
hez2010 dca1834
Add a couple of tests
hez2010 2582ba6
Address test name collisions
hez2010 800aa20
Fix crossgen2 not producing a const lookup
hez2010 a5c4574
Merge branch 'main' into devirt-instantiating-stub-coreclr
hez2010 31ff006
Fix NativeAOT build
hez2010 645e5dd
Pass a type dictionary fixup when the method doesn't have an instanti…
hez2010 1f2aacc
Nit
hez2010 cad1140
More fixes to AOT
hez2010 0c7102a
Use a better helper
hez2010 8f02750
Minor refactor
hez2010 e27aba9
Handle unboxing stub
hez2010 b77ad2d
Bail out unboxing stub in R2R for now
hez2010 de3bd27
Clean up tests
hez2010 60dfd3f
Merge branch 'main' into devirt-instantiating-stub-coreclr
hez2010 41e0827
Nit
hez2010 b55d5c1
Take canonical subtype into account as well
hez2010 0820190
Add a test case
hez2010 d47b382
Refactor and properly handle unboxing stubs
hez2010 fe25211
Cleanup getUnboxedEntry and getInstantiatedEntry
hez2010 852a572
Check the context directly
hez2010 959ad95
Merge branch 'main' into unboxing-stub-cleanup
hez2010 872c5dc
Merge branch 'main' into unboxing-stub-cleanup
hez2010 66f0836
Merge branch 'main' into unboxing-stub-cleanup
hez2010 272667a
Merge branch 'main' into unboxing-stub-cleanup
hez2010 4b0568e
Merge branch 'main' into devirt-instantiating-stub-coreclr
hez2010 109a293
Merge branch 'unboxing-stub-cleanup' into devirt-instantiating-stub-c…
hez2010 fe5b4fa
Merge branch 'main' into devirt-instantiating-stub-coreclr
hez2010 176d6b9
Rework unboxing stub and instantiating stub
hez2010 5dec373
Address some verification issues
hez2010 d0b8e36
Add file header
hez2010 e0bbb26
Reduce generic nesting depth to make ilc compile
hez2010 231533d
Gate the unboxing stub test case for NativeAOT
hez2010 f7145a5
Merge branch 'main' into devirt-instantiating-stub-coreclr
hez2010 933f030
Merge branch 'main' into devirt-instantiating-stub-coreclr
hez2010 044a8c3
Revert "Gate the unboxing stub test case for NativeAOT"
hez2010 374e5e3
Refine tests
hez2010 862d314
Exercise s_list element as well
hez2010 9f681d5
Oops
hez2010 07d6acd
More coverage
hez2010 66a508e
Expand to full test matrix
hez2010 bf8e205
Meh
hez2010 42858f8
Remove redundant code after merging
hez2010 ff93779
Cleanup
hez2010 b76ac1e
Address a missing case
hez2010 4517553
Clarify the instArg check for R2R
hez2010 d964fee
Merge branch 'main' into devirt-instantiating-stub-coreclr
hez2010 3fe11a8
Merge branch 'main' into devirt-instantiating-stub-coreclr
hez2010 87b4e0c
Skip generic recursion cases for NativeAOT due to type loader limitat…
hez2010 c196f84
Use IsNativeAot
hez2010 7c73562
Address feedbacks
hez2010 ee2bdf7
Turn the failure into an TypeLoadException
hez2010 79a2bdf
Don't capture generic arity mismatch
hez2010 42dc0d2
Meh
hez2010 0f840d7
Add non-recursive derived struct tests
hez2010 b4d9776
Merge branch 'main' into devirt-instantiating-stub-coreclr
hez2010 b527c60
Oops
hez2010 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.