-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Labels
area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMICLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Milestone
Description
Address this workaround:
runtime/src/coreclr/jit/indirectcalltransformer.cpp
Lines 526 to 543 in 81e867e
| // For now, bail on transforming calls that still appear | |
| // to return structs by value as there is deferred work | |
| // needed to fix up the return type. | |
| // | |
| // See for instance fgUpdateInlineReturnExpressionPlaceHolder. | |
| if (origCall->TypeGet() == TYP_STRUCT) | |
| { | |
| JITDUMP("*** %s Bailing on [%06u] -- can't handle by-value struct returns yet\n", Name(), | |
| compiler->dspTreeID(origCall)); | |
| ClearFlag(); | |
| // For stub calls restore the stub address | |
| if (origCall->IsVirtualStub()) | |
| { | |
| origCall->gtStubCallStubAddr = origCall->gtInlineCandidateInfo->stubAddr; | |
| } | |
| return; | |
| } |
Metadata
Metadata
Assignees
Labels
area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMICLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Type
Projects
Status
Done