Skip to content

Commit d8d053f

Browse files
authored
Merge pull request #22346 from zl-wang/non-local-return-register-0.54
(0.54) Use r11 instead of r0 for non-local return
2 parents 56ff711 + f464c8f commit d8d053f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

runtime/oti/phelpers.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -863,8 +863,8 @@ define({RESTORE_PRESERVED_REGS},{
863863
})
864864

865865
define({BRANCH_VIA_VMTHREAD},{
866-
laddr r0,$1(J9VMTHREAD)
867-
mtctr r0
866+
laddr r11,$1(J9VMTHREAD)
867+
mtctr r11
868868
bctr
869869
})
870870

0 commit comments

Comments
 (0)