diff --git a/src/coreclr/jit/lclvars.cpp b/src/coreclr/jit/lclvars.cpp index 60f80fcba93e90..01e8a8a797af4e 100644 --- a/src/coreclr/jit/lclvars.cpp +++ b/src/coreclr/jit/lclvars.cpp @@ -7699,7 +7699,7 @@ void Compiler::lvaDumpEntry(unsigned lclNum, FrameLayoutState curState, size_t r } } - if ((varDsc->lvClassHnd != NO_CLASS_HANDLE) && (varDsc->TypeGet() == TYP_REF)) + if (varDsc->lvClassHnd != NO_CLASS_HANDLE) { printf(" <%s>", eeGetClassName(varDsc->lvClassHnd)); }