Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 92428fa

Browse files
committed
Dummy TailCallCopyArgsThunk for altjit
1 parent fc33780 commit 92428fa

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/jit/morph.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8316,7 +8316,12 @@ GenTree* Compiler::fgMorphCall(GenTreeCall* call)
83168316
: CORINFO_TAILCALL_NORMAL);
83178317
if (pfnCopyArgs == nullptr)
83188318
{
8319+
#ifdef ALT_JIT
8320+
// If this is an altjit, we may not get a thunk from the VM, so use a fake one.
8321+
pfnCopyArgs = (void*)0xdddddddd;
8322+
#else
83198323
szFailReason = "TailCallCopyArgsThunk not available.";
8324+
#endif
83208325
}
83218326
}
83228327
#endif // !_TARGET_X86_

0 commit comments

Comments
 (0)