summaryrefslogtreecommitdiff
path: root/src/jit/lower.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/jit/lower.cpp')
-rw-r--r--src/jit/lower.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/jit/lower.cpp b/src/jit/lower.cpp
index fc507c4c50..01f181f5ba 100644
--- a/src/jit/lower.cpp
+++ b/src/jit/lower.cpp
@@ -1765,11 +1765,7 @@ void Lowering::CheckVSQuirkStackPaddingNeeded(GenTreeCall* call)
if (op1->OperGet() == GT_LCL_VAR_ADDR)
{
unsigned lclNum = op1->AsLclVarCommon()->GetLclNum();
- // TODO-1stClassStructs: This is here to duplicate previous behavior,
- // but is not needed because the scenario being quirked did not involve
- // a SIMD or enregisterable struct.
- // if(comp->lvaTable[lclNum].TypeGet() == TYP_STRUCT)
- if (varTypeIsStruct(comp->lvaTable[lclNum].TypeGet()))
+ if (comp->lvaGetDesc(lclNum)->TypeGet() == TYP_STRUCT)
{
// First arg is addr of a struct local.
paddingNeeded = true;