Return 0 as a floating point value for ARM hardware FP.

Note that this code path is currently unused by Clang, which does the
nil check in the caller for fpret functions.
main
David Chisnall 10 years ago
parent 66c4154b06
commit 8e2d730f95

@ -105,6 +105,9 @@
4: // Nil receiver
mov r0, 0
mov r1, 0
#ifndef __SOFTFP__
vmov.i64 d0, #0 // Return 0 as a float / double
#endif
bx lr
.fnend
.endm

Loading…
Cancel
Save