diff --git a/src/coreclr/jit/gentree.h b/src/coreclr/jit/gentree.h index 53f73dbf7d190..6e90375c62748 100644 --- a/src/coreclr/jit/gentree.h +++ b/src/coreclr/jit/gentree.h @@ -4754,12 +4754,10 @@ struct GenTreeCall final : public GenTree void ResetArgInfo(); - GenTreeCallFlags gtCallMoreFlags; // in addition to gtFlags - - unsigned char gtCallType : 3; // value from the gtCallTypes enumeration - unsigned char gtReturnType : 5; // exact return type - - CORINFO_CLASS_HANDLE gtRetClsHnd; // The return type handle of the call if it is a struct; always available + GenTreeCallFlags gtCallMoreFlags; // in addition to gtFlags + gtCallTypes gtCallType : 3; // value from the gtCallTypes enumeration + var_types gtReturnType : 5; // exact return type + CORINFO_CLASS_HANDLE gtRetClsHnd; // The return type handle of the call if it is a struct; always available union { // only used for CALLI unmanaged calls (CT_INDIRECT) diff --git a/src/coreclr/jit/jit.h b/src/coreclr/jit/jit.h index e212226851c7c..218871e154fc5 100644 --- a/src/coreclr/jit/jit.h +++ b/src/coreclr/jit/jit.h @@ -529,6 +529,9 @@ const bool dspGCtbls = true; if (JitTls::GetCompiler()->verbose) \ JitTls::GetCompiler()->fgTableDispBasicBlock(b); #define VERBOSE JitTls::GetCompiler()->verbose +// Development-time only macros, simplify guards for specified IL methods one wants to debug/add log messages for +#define ISMETHOD(name) (strcmp(JitTls::GetCompiler()->impInlineRoot()->info.compMethodName, name) == 0) +#define ISMETHODHASH(hash) (JitTls::GetCompiler()->impInlineRoot()->info.compMethodHash() == hash) #else // !DEBUG #define JITDUMP(...) #define JITDUMPEXEC(x)