[RyuJIT/ARM32] Block copy for promoted struct argument assign
authorHyeongseok Oh <hseok82.oh@samsung.com>
Tue, 18 Jul 2017 11:38:02 +0000 (20:38 +0900)
committerHyeongseok Oh <hseok82.oh@samsung.com>
Tue, 18 Jul 2017 11:38:02 +0000 (20:38 +0900)
Block copy for promoted struct
Similar implementation as x64 with FEATURE_UNIX_AMD64_STRUCT_PASSING

src/jit/morph.cpp

index 6701695..1d2653e 100644 (file)
@@ -3655,6 +3655,9 @@ GenTreeCall* Compiler::fgMorphArgs(GenTreeCall* call)
                                 {
                                     fgAddSkippedRegsInPromotedStructArg(varDsc, intArgRegNum, &argSkippedRegMask);
                                 }
+#if !defined(LEGACY_BACKEND)
+                                copyBlkClass = objClass;
+#endif
                             }
                         }
 #endif // _TARGET_ARM_