diff options
Diffstat (limited to 'src/jit/lower.cpp')
-rw-r--r-- | src/jit/lower.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jit/lower.cpp b/src/jit/lower.cpp index ce99e4d5b5..b8f0403a25 100644 --- a/src/jit/lower.cpp +++ b/src/jit/lower.cpp @@ -836,7 +836,7 @@ GenTreePtr Lowering::NewPutArg(GenTreeCall* call, GenTreePtr arg, fgArgTabEntryP #ifdef _TARGET_ARMARCH_ // Mark contained when we pass struct // GT_FIELD_LIST is always marked conatained when it is generated - if (varTypeIsStruct(type)) + if (type == TYP_STRUCT) { arg->SetContained(); if ((arg->OperGet() == GT_OBJ) && (arg->AsObj()->Addr()->OperGet() == GT_LCL_VAR_ADDR)) |