diff --git a/src/coreclr/src/jit/gentree.h b/src/coreclr/src/jit/gentree.h index 4c587b8e67631..ad0e2775be004 100644 --- a/src/coreclr/src/jit/gentree.h +++ b/src/coreclr/src/jit/gentree.h @@ -4091,7 +4091,7 @@ struct GenTreeCall final : public GenTree // tailcall mechanism. bool IsTailCallViaJitHelper() const { -#ifdef _TARGET_X86_ +#ifdef TARGET_X86 return IsTailCall() && (gtCallMoreFlags & GTF_CALL_M_TAILCALL_VIA_JIT_HELPER); #else return false; @@ -4101,7 +4101,7 @@ struct GenTreeCall final : public GenTree #if FEATURE_FASTTAILCALL bool IsFastTailCall() const { -#ifdef _TARGET_X86_ +#ifdef TARGET_X86 return IsTailCall() && !(gtCallMoreFlags & GTF_CALL_M_TAILCALL_VIA_JIT_HELPER); #else return IsTailCall(); diff --git a/src/coreclr/src/jit/lclvars.cpp b/src/coreclr/src/jit/lclvars.cpp index c6ab056bfb948..f93062dff004c 100644 --- a/src/coreclr/src/jit/lclvars.cpp +++ b/src/coreclr/src/jit/lclvars.cpp @@ -4901,7 +4901,7 @@ void Compiler::lvaFixVirtualFrameOffsets() #endif // FEATURE_FIXED_OUT_ARGS -#ifdef _TARGET_ARM64_ +#ifdef TARGET_ARM64 // We normally add alignment below the locals between them and the outgoing // arg space area. When we store fp/lr at the bottom, however, this will be // below the alignment. So we should not apply the alignment adjustment to diff --git a/src/coreclr/src/jit/morph.cpp b/src/coreclr/src/jit/morph.cpp index 562d6d2c9c8ec..8e7d08cd209cf 100644 --- a/src/coreclr/src/jit/morph.cpp +++ b/src/coreclr/src/jit/morph.cpp @@ -6766,7 +6766,7 @@ bool Compiler::fgCanFastTailCall(GenTreeCall* callee, const char** failReason) return false; } -#ifdef _TARGET_AMD64_ +#ifdef TARGET_AMD64 // Needed for Jit64 compat. // In future, enabling fast tail calls from methods that need GS cookie // check would require codegen side work to emit GS cookie check before a @@ -17945,7 +17945,7 @@ bool Compiler::fgCheckStmtAfterTailCall() // bool Compiler::fgCanTailCallViaJitHelper() { -#ifndef _TARGET_X86_ +#ifndef TARGET_X86 // On anything except X86 we have no faster mechanism available. return false; #else