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

Commit c4075fe

Browse files
committed
[RyuJIT/ARM32] hotfix for a regression
Signed-off-by: Hyung-Kyu Choi <[email protected]>
1 parent dbdaf34 commit c4075fe

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
@@ -3826,6 +3826,10 @@ GenTree* Lowering::LowerVirtualStubCall(GenTreeCall* call)
38263826
// TODO: specifying register probably unnecessary for other platforms, too.
38273827
#if !defined(_TARGET_UNIX_) && !defined(_TARGET_ARM_)
38283828
indir->gtRegNum = REG_JUMP_THUNK_PARAM;
3829+
#elif defined(_TARGET_ARM_)
3830+
// TODO-ARM-Cleanup: This is a temporarey hotfix to fix a regression observed in Linux/ARM.
3831+
if (!comp->IsTargetAbi(CORINFO_CORERT_ABI))
3832+
indir->gtRegNum = REG_JUMP_THUNK_PARAM;
38293833
#endif
38303834
indir->gtFlags |= GTF_IND_REQ_ADDR_IN_REG;
38313835
#endif

0 commit comments

Comments
 (0)