-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Remove the concept of primitive value types and follow-up JIT/TypedReference/arglist cleanup #127894
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
Merged
Merged
Remove the concept of primitive value types and follow-up JIT/TypedReference/arglist cleanup #127894
Changes from all commits
Commits
Show all changes
67 commits
Select commit
Hold shift + click to select a range
7d196a3
Remove verifier element type API and rename primitive-value-type cate…
Copilot 0af6cad
Rename enum category in cDAC contracts/docs and clean related comments
Copilot fbca1de
Address review feedback on enum/primitive category values and comments
Copilot 2bdd2da
Refine RuntimeHelpers primitive checks after review tool feedback
Copilot 4a179b3
Clarify primitive/enum mask behavior comment in MethodTable
Copilot 53d2152
Apply latest enum/primitive review suggestions across runtime and cDAC
Copilot 6ce3aae
Clarify IsTruePrimitive comment wording in MethodTable
Copilot 4ec0818
Update src/coreclr/System.Private.CoreLib/src/System/Runtime/Compiler…
jkotas f3b8238
Update src/coreclr/System.Private.CoreLib/src/System/Runtime/Compiler…
jkotas 257cd43
Add IsPrimitive(), refactor SetInternalCorElementType, delete SetIsTr…
Copilot ceafd3d
Fix SetFlag type in SetInternalCorElementType default case
Copilot 1647dbe
Apply suggestion from @jkotas
jkotas 2a130cb
Apply suggestion from @jkotas
jkotas 8179e5f
Apply suggestion from @jkotas
jkotas 9bc8857
Change IsTruePrimitive and IsPrimitive return types from BOOL to bool
Copilot 22fcaef
Apply MethodTable bool signature and parameter naming suggestions
Copilot 58de251
Revert category flag names to PrimitiveValueType/TruePrimitive and fi…
Copilot 492ea1e
Apply suggestion from @jkotas
jkotas 4b6ba08
Apply suggestion from @jkotas
jkotas 1e0c510
Apply suggestion from @jkotas
jkotas 64a71ba
Apply suggestion from @jkotas
jkotas e7ac939
Apply suggestions from code review
jkotas 8d0b204
Apply suggestion from @jkotas
jkotas eba9e49
Potential fix for pull request finding
jkotas 53ca4a8
Apply suggestion from @jkotas
jkotas 6e6336a
Apply suggestion from @jkotas
jkotas 5f72765
Apply suggestion from @jkotas
jkotas 12c5281
Apply suggestion from @jkotas
jkotas b7b9de7
Update enum_flag_Category_PrimitiveValueType comment to 'Enum or true…
Copilot cf223a5
Update primitive category comments
Copilot fe05de3
Rename enum_flag_Category_PrimitiveValueType to enum_flag_Category_En…
Copilot 99c07d8
Add explanatory comment to IsPrimitive() about ElementTypeMask behavior
Copilot 8739054
Restore ELEMENT_TYPE_I for runtime handle types without setting categ…
Copilot 4688e6d
Revert "Restore ELEMENT_TYPE_I for runtime handle types without setti…
Copilot 25a3420
Fix runtime handle types by setting ELEMENT_TYPE_I with Category_Enum…
Copilot ac9f6f6
Revert "Fix runtime handle types by setting ELEMENT_TYPE_I with Categ…
Copilot d0a71b8
Fix JIT assertion for runtime handle types by allowing pointer-sized …
Copilot 51d25a5
Fix runtime handle types by setting ELEMENT_TYPE_VALUETYPE for non-pr…
Copilot 1e2f63b
Fix runtime handle types by returning CORINFO_TYPE_VALUECLASS from ge…
Copilot 256d425
Revert assertion relaxation in importer.cpp as the fix in getTypeForP…
Copilot 7c775d2
Revert getTypeForPrimitiveValueClass change as it causes test failures
Copilot 8cd4494
Handle runtime handle internal types as TYP_I_IMPL in JIT lvaInitVarDsc
Copilot 09d4978
Revert "Handle runtime handle internal types as TYP_I_IMPL in JIT lva…
jkotas a6e2dbe
Merge branch 'main' into copilot/delete-primitive-value-types
jkotas a5c7ff8
More
jkotas ffdefa1
More
jkotas 2cd4088
More
jkotas 29930e8
Update RuntimeTypeSystem docs to use Category_Enum naming
Copilot 18c574c
Rename RuntimeTypeSystem doc flag to Category_Primitive
Copilot 4cc66e2
Rename IsPrimitiveMask constant to ElementTypeMask in RuntimeHelpers
Copilot 2491a23
Rename Category_Enum to Category_Primitive across runtime flags
Copilot 361b54f
Merge branch 'main' into copilot/delete-primitive-value-types
jkotas 90c7b6f
Merge remote-tracking branch 'refs/remotes/origin/main' into copilot/…
Copilot 2f33264
Handle TypedReference explicitly in ZapSig type comparison
Copilot a92c664
Fix CEE_ARGLIST import to produce RuntimeArgumentHandle struct
Copilot 77b73d1
Fix CEE_ARGLIST to initialize RuntimeArgumentHandle with varargs-hand…
Copilot 75590e3
Fixes
jkotas b7a65ff
Apply suggestion from @jkotas
jkotas 826c476
Nit
jkotas 091d2be
Fix build break
jkotas 8c618c7
Potential fix for pull request finding
jkotas 6003adb
Apply suggestion from @jkotas
jkotas 732d054
Delete dead EmitArgIteratorCreateAndLoad helper
Copilot b45f413
Add arglist RuntimeArgumentHandle regression test
Copilot bb9fd60
Remove stale ArgIterator CTOR2 corelib entry
Copilot fadeaed
Delete invalid PREFIX arglist tests
Copilot 12c1099
Merge branch 'main' into copilot/delete-primitive-value-types
jkotas 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
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
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
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.