Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/coreclr/jit/importer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3397,8 +3397,9 @@ bool Compiler::impImportAndPushBoxForNullable(CORINFO_RESOLVED_TOKEN* pResolvedT
// Decompose the Nullable<> arg into _hasValue and _value fields
// and calculate the type and layout of the 'value' field
//
// Boxing allows the "initclass" flag, but not volatile/unaligned flags
GenTreeFlags indirFlags = GTF_EMPTY;
nullableObj = impGetNodeAddr(nullableObj, CHECK_SPILL_ALL, &indirFlags);
nullableObj = impGetNodeAddr(nullableObj, CHECK_SPILL_ALL, GTF_IND_INITCLASS, &indirFlags);
GenTree* nullableObjClone;
nullableObj = impCloneExpr(nullableObj, &nullableObjClone, CHECK_SPILL_ALL, nullptr DEBUGARG("nullable obj clone"));

Expand Down
Loading