[RyuJIT/ARM32] Struct argument passing less than 4 byte
authorHyeongseok Oh <hseok82.oh@samsung.com>
Mon, 5 Jun 2017 07:04:26 +0000 (16:04 +0900)
committerHyeongseok Oh <hseok82.oh@samsung.com>
Mon, 5 Jun 2017 07:04:26 +0000 (16:04 +0900)
Fix assertion when struct argument is less than 4 byte and promoted

src/jit/morph.cpp

index 19a8d5f..a20368d 100644 (file)
@@ -2040,7 +2040,7 @@ GenTreePtr Compiler::fgMakeTmpArgNode(
     if (varTypeIsStruct(type))
     {
 
-#if defined(_TARGET_AMD64_) || defined(_TARGET_ARM64_)
+#if defined(_TARGET_AMD64_) || defined(_TARGET_ARM64_) || defined(_TARGET_ARM_)
 
 #ifdef FEATURE_UNIX_AMD64_STRUCT_PASSING