diff options
Diffstat (limited to 'src/jit/lclvars.cpp')
-rw-r--r-- | src/jit/lclvars.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jit/lclvars.cpp b/src/jit/lclvars.cpp index 5bcb1c8f77..e64b5a1645 100644 --- a/src/jit/lclvars.cpp +++ b/src/jit/lclvars.cpp @@ -1459,7 +1459,7 @@ void Compiler::lvaCanPromoteStructType(CORINFO_CLASS_HANDLE typeHnd, StructPromotionInfo->canPromote = false; unsigned structSize = info.compCompHnd->getClassSize(typeHnd); - if (structSize >= MaxOffset) + if (structSize > MaxOffset) { return; // struct is too large } |