diff --git a/src/jit/morph.cpp b/src/jit/morph.cpp index 0df36c953c94..7ed9e2eaaeb6 100644 --- a/src/jit/morph.cpp +++ b/src/jit/morph.cpp @@ -18418,7 +18418,7 @@ Compiler::fgWalkResult Compiler::fgMorphLocalField(GenTree* tree, fgWalkData* fg // must be enregisterable types. // TODO-Cleanup: varTypeCanReg should presumably return true for SIMD types, but // there may be places where that would violate existing assumptions. - var_types treeType = tree->TypeGet(); + var_types treeType = tree->TypeGet(); var_types fieldType = fldVarDsc->TypeGet(); assert((varTypeCanReg(treeType) || varTypeIsSIMD(treeType)) && (varTypeCanReg(fieldType) || varTypeIsSIMD(fieldType)));