Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.
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
6 changes: 0 additions & 6 deletions src/jit/morph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8224,12 +8224,7 @@ GenTreePtr Compiler::fgMorphCopyBlock(GenTreePtr tree)
// Spill the (complex) address to a BYREF temp.
// Note, at most one address may need to be spilled.
addrSpillTemp = lvaGrabTemp(true DEBUGARG("BlockOp address local"));
#ifdef FEATURE_UNIX_AMD64_STRUCT_PASSING
lvaTable[addrSpillTemp].lvType = TYP_I_IMPL;

tree = gtNewAssignNode(gtNewLclvNode(addrSpillTemp, TYP_I_IMPL),
addrSpill);
#else // !FEATURE_UNIX_AMD64_STRUCT_PASSING
lvaTable[addrSpillTemp].lvType = TYP_BYREF;

if (addrSpillIsStackDest)
Expand All @@ -8239,7 +8234,6 @@ GenTreePtr Compiler::fgMorphCopyBlock(GenTreePtr tree)

tree = gtNewAssignNode(gtNewLclvNode(addrSpillTemp, TYP_BYREF),
addrSpill);
#endif // !FEATURE_UNIX_AMD64_STRUCT_PASSING

#ifndef LEGACY_BACKEND
// If we are assigning the address of a LclVar here
Expand Down