Use bx for calling methods so that thumb / ARM interop should work.

main
David Chisnall 10 years ago
parent dfe485de34
commit 66c4154b06

@ -101,11 +101,11 @@
pop {r0-r4, lr} // Load clobbered registers
mov \receiver, r5
pop {r4-r6} // Restore the saved callee-save registers
mov pc, ip
bx ip
4: // Nil receiver
mov r0, 0
mov r1, 0
mov pc, lr
bx lr
.fnend
.endm

Loading…
Cancel
Save