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

Commit 4082dee

Browse files
hqueuejkotas
authored andcommitted
[RyuJIT/ARM32] hotfix for a regression (#14252)
Signed-off-by: Hyung-Kyu Choi <[email protected]>
1 parent 2eed20c commit 4082dee

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/jit/lower.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3827,6 +3827,10 @@ GenTree* Lowering::LowerVirtualStubCall(GenTreeCall* call)
38273827
// TODO: specifying register probably unnecessary for other platforms, too.
38283828
#if !defined(_TARGET_UNIX_) && !defined(_TARGET_ARM_)
38293829
indir->gtRegNum = REG_JUMP_THUNK_PARAM;
3830+
#elif defined(_TARGET_ARM_)
3831+
// TODO-ARM-Cleanup: This is a temporarey hotfix to fix a regression observed in Linux/ARM.
3832+
if (!comp->IsTargetAbi(CORINFO_CORERT_ABI))
3833+
indir->gtRegNum = REG_JUMP_THUNK_PARAM;
38303834
#endif
38313835
indir->gtFlags |= GTF_IND_REQ_ADDR_IN_REG;
38323836
#endif

0 commit comments

Comments
 (0)