mark call->fgArgInfo with hasStackArgs for arm32 split args (#15615)
authorSergey Andreenko <seandree@microsoft.com>
Fri, 22 Dec 2017 17:58:21 +0000 (09:58 -0800)
committerGitHub <noreply@github.com>
Fri, 22 Dec 2017 17:58:21 +0000 (09:58 -0800)
src/jit/morph.cpp

index bdf8ba7..5e785f6 100644 (file)
@@ -1475,12 +1475,14 @@ void fgArgInfo::SplitArg(unsigned argNum, unsigned numRegs, unsigned numSlots)
         assert(curArgTabEntry->isSplit == true);
         assert(curArgTabEntry->numRegs == numRegs);
         assert(curArgTabEntry->numSlots == numSlots);
+        assert(hasStackArgs == true);
     }
     else
     {
         curArgTabEntry->isSplit  = true;
         curArgTabEntry->numRegs  = numRegs;
         curArgTabEntry->numSlots = numSlots;
+        hasStackArgs             = true;
     }
     nextSlotNum += numSlots;
 }