Remove the concept of primitive value types and follow up cleanup#127894
Remove the concept of primitive value types and follow up cleanup#127894Copilot wants to merge 54 commits into
Conversation
…gory to enum Agent-Logs-Url: https://github.com/dotnet/runtime/sessions/5e928e4d-026c-49f8-a093-001b6bf1d69c Co-authored-by: jkotas <6668460+jkotas@users.noreply.github.com>
Agent-Logs-Url: https://github.com/dotnet/runtime/sessions/5e928e4d-026c-49f8-a093-001b6bf1d69c Co-authored-by: jkotas <6668460+jkotas@users.noreply.github.com>
|
Tagging subscribers to this area: @agocke |
Agent-Logs-Url: https://github.com/dotnet/runtime/sessions/a5ef9c79-9897-4019-af57-7543f1af7c54 Co-authored-by: jkotas <6668460+jkotas@users.noreply.github.com>
Agent-Logs-Url: https://github.com/dotnet/runtime/sessions/a5ef9c79-9897-4019-af57-7543f1af7c54 Co-authored-by: jkotas <6668460+jkotas@users.noreply.github.com>
Agent-Logs-Url: https://github.com/dotnet/runtime/sessions/a5ef9c79-9897-4019-af57-7543f1af7c54 Co-authored-by: jkotas <6668460+jkotas@users.noreply.github.com>
Agent-Logs-Url: https://github.com/dotnet/runtime/sessions/4ef6b0df-8fc1-41d6-afe1-1119ff0f3c32 Co-authored-by: jkotas <6668460+jkotas@users.noreply.github.com>
Fixed in 8cd4494. The solution identifies |
…InitVarDsc" This reverts commit 8cd4494.
Agent-Logs-Url: https://github.com/dotnet/runtime/sessions/2acd0c3a-e4f9-4316-bc72-a1462ef61397 Co-authored-by: jkotas <6668460+jkotas@users.noreply.github.com>
Agent-Logs-Url: https://github.com/dotnet/runtime/sessions/b25dfaef-9df2-4161-8c86-129dd0b25ea8 Co-authored-by: jkotas <6668460+jkotas@users.noreply.github.com>
Agent-Logs-Url: https://github.com/dotnet/runtime/sessions/43600cbc-8cd7-4f70-aa1d-a272a469e4ad Co-authored-by: jkotas <6668460+jkotas@users.noreply.github.com>
Agent-Logs-Url: https://github.com/dotnet/runtime/sessions/23221766-5057-454a-b53d-f8904a0ae9eb Co-authored-by: jkotas <6668460+jkotas@users.noreply.github.com>
|
@copilot Merge from main and resolve conflicts |
Merged |
|
@copilot Do that again and don't forget to push the merge commit into the PR |
…delete-primitive-value-types # Conflicts: # src/coreclr/vm/jitinterface.cpp Co-authored-by: jkotas <6668460+jkotas@users.noreply.github.com>
Done in |
Agent-Logs-Url: https://github.com/dotnet/runtime/sessions/0b309854-d541-4fd7-9c78-ad6d8929f887 Co-authored-by: jkotas <6668460+jkotas@users.noreply.github.com>
|
@rcj1 PTLA. Cleanup discussed in #127877 (comment) |
Primitive value types were vestiges of very old x86 calling convention handling that became unnecessary many years ago.
This change deletes the concept of primitive value types. We only have primitives (Int32, etc. including enums) and true primitives (Int32, etc. without enums) now. Deleting this concept enabled follow up cleanup:
GetVerifierCorElementTypeand replaces all call sites withGetInternalCorElementTypeRuntimeArgumentHandle,RuntimeMethodHandleInternal,RuntimeFieldHandleInternal) in the type loaderTypedReferenceas primitive some of the time. TypedReference is a regular byref-like value type now.