*/
void Compiler::fgMorphTailCall(GenTreeCall* call, void* pfnCopyArgs)
{
+#if defined(_TARGET_UNIX_)
+ noway_assert(!"Slow tail calls not supported on non-Windows platforms.");
+#endif
+
JITDUMP("fgMorphTailCall (before):\n");
DISPTREE(call);
}
void* pfnCopyArgs = nullptr;
-#if !defined(_TARGET_X86_)
+#if !defined(_TARGET_X86_) || defined(_TARGET_UNIX_)
if (!canFastTailCall && szFailReason == nullptr)
{
pfnCopyArgs =
}
}
}
-#endif // !_TARGET_X86_
+#endif // !defined(_TARGET_X86_) || defined(_TARGET_UNIX_)
if (szFailReason != nullptr)
{