diff --git a/src/coreclr/src/jit/emitarm64.cpp b/src/coreclr/src/jit/emitarm64.cpp index 6a819f8c05a9d..29dd58e4e02d4 100644 --- a/src/coreclr/src/jit/emitarm64.cpp +++ b/src/coreclr/src/jit/emitarm64.cpp @@ -12340,14 +12340,22 @@ void emitter::emitDispIns( targetName = "String handle"; } } - else if ((idFlags == GTF_ICON_FIELD_HDL) || (idFlags == GTF_ICON_STATIC_HDL)) + else if (idFlags == GTF_ICON_FIELD_HDL) { targetName = emitComp->eeGetFieldName((CORINFO_FIELD_HANDLE)targetHandle); } - else if ((idFlags == GTF_ICON_METHOD_HDL) || (idFlags == GTF_ICON_FTN_ADDR)) + else if (idFlags == GTF_ICON_STATIC_HDL) + { + targetName = "Static handle"; + } + else if (idFlags == GTF_ICON_METHOD_HDL) { targetName = emitComp->eeGetMethodFullName((CORINFO_METHOD_HANDLE)targetHandle); } + else if (idFlags == GTF_ICON_FTN_ADDR) + { + targetName = "Function address"; + } else if (idFlags == GTF_ICON_CLASS_HDL) { targetName = emitComp->eeGetClassName((CORINFO_CLASS_HANDLE)targetHandle);