Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit ab627c3

Browse files
committed
Merge pull request #4135 from LLITCHEV/Issue4115-rc2-2
Fix in RC2 branch for issue 4115.
2 parents fc416c3 + 6213323 commit ab627c3

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/jit/morph.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8224,12 +8224,7 @@ GenTreePtr Compiler::fgMorphCopyBlock(GenTreePtr tree)
82248224
// Spill the (complex) address to a BYREF temp.
82258225
// Note, at most one address may need to be spilled.
82268226
addrSpillTemp = lvaGrabTemp(true DEBUGARG("BlockOp address local"));
8227-
#ifdef FEATURE_UNIX_AMD64_STRUCT_PASSING
8228-
lvaTable[addrSpillTemp].lvType = TYP_I_IMPL;
82298227

8230-
tree = gtNewAssignNode(gtNewLclvNode(addrSpillTemp, TYP_I_IMPL),
8231-
addrSpill);
8232-
#else // !FEATURE_UNIX_AMD64_STRUCT_PASSING
82338228
lvaTable[addrSpillTemp].lvType = TYP_BYREF;
82348229

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

82408235
tree = gtNewAssignNode(gtNewLclvNode(addrSpillTemp, TYP_BYREF),
82418236
addrSpill);
8242-
#endif // !FEATURE_UNIX_AMD64_STRUCT_PASSING
82438237

82448238
#ifndef LEGACY_BACKEND
82458239
// If we are assigning the address of a LclVar here

0 commit comments

Comments
 (0)