Remove dead fIs80Plus parameter from IMDInternalImport::GetUserString#129777
Merged
Conversation
Co-authored-by: AaronRobinsonMSFT <30635565+AaronRobinsonMSFT@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
AaronRobinsonMSFT
June 23, 2026 22:42
View session
Contributor
|
Tagging subscribers to this area: @agocke |
jkotas
approved these changes
Jun 23, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the CoreCLR internal metadata import interface (IMDInternalImport) by removing a no-longer-used output parameter from GetUserString, and then mechanically fixes up the corresponding implementations and callers across the VM, metadata layers, and ILDASM.
Changes:
- Removes the dead
pbIs80Plus/fIs80Plusoutput parameter fromIMDInternalImport::GetUserString(interface + implementations). - Updates all in-repo call sites to use the new 3-parameter signature.
- Cleans up now-unused locals and assignment logic related to the removed parameter.
Reviewed changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/coreclr/inc/metadata.h | Updates IMDInternalImport::GetUserString signature to drop the dead out-parameter. |
| src/coreclr/md/runtime/mdinternalro.h | Updates MDInternalRO::GetUserString declaration to match the new interface signature. |
| src/coreclr/md/runtime/mdinternalro.cpp | Removes the unused pfIs80Plus handling logic from MDInternalRO::GetUserString. |
| src/coreclr/md/inc/mdinternalrw.h | Updates MDInternalRW::GetUserString declaration to match the new interface signature. |
| src/coreclr/md/enc/mdinternalrw.cpp | Removes the unused pfIs80Plus handling logic from MDInternalRW::GetUserString. |
| src/coreclr/vm/ceeload.cpp | Removes now-unused local and updates the GetUserString call in string initialization. |
| src/coreclr/vm/managedmdimport.cpp | Updates the FCALL wrapper to call the new GetUserString signature and removes unused local. |
| src/coreclr/vm/jitinterface.cpp | Updates JIT/EE interface usage to the new GetUserString signature. |
| src/coreclr/ildasm/dis.cpp | Updates ILDASM token pretty-printer to call the new GetUserString signature. |
| src/coreclr/vm/readytorunstandalonemethodmetadata.cpp | Updates ReadyToRun standalone metadata helper to call the new GetUserString signature. |
This was referenced Jun 24, 2026
Member
👎 |
Member
|
/ba-g Arm64 failures are known issue #129738 |
jkotas
approved these changes
Jun 24, 2026
tannergooding
approved these changes
Jun 24, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The
fIs80Plus/pbIs80Plusoutput parameter onIMDInternalImport::GetUserStringwas dead — all call sites either passedNULLor ignored the value. Remove it from the interface, both implementations (MDInternalRO,MDInternalRW), and all call sites.Changes:
src/coreclr/inc/metadata.h— DropBOOL *pbIs80PlusfromIMDInternalImport::GetUserStringpure virtualsrc/coreclr/md/runtime/mdinternalro.h/mdinternalro.cpp— Remove param and allpfIs80Plusnull-guard/assignment logicsrc/coreclr/md/inc/mdinternalrw.h/enc/mdinternalrw.cpp— Samesrc/coreclr/vm/ceeload.cpp— DropBOOL fIs80Pluslocal; remove from callsrc/coreclr/vm/managedmdimport.cpp— DropBOOL bHasExtendedCharslocal; remove from callsrc/coreclr/vm/jitinterface.cpp,ildasm/dis.cpp,vm/readytorunstandalonemethodmetadata.cpp— RemoveNULLarg from calls