diff options
author | Mike Pall <mike> | 2023-10-08 21:22:50 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2023-10-08 21:22:50 +0200 |
commit | 9cc8bbb7ae3675382d016e33b6d8b022101077b8 (patch) | |
tree | bce2fdb9a58128380138d535c86f4fb2e3c1027e | |
parent | 1e93951b258cdf885779992434201c6114445665 (diff) | |
download | luajit-9cc8bbb7ae3675382d016e33b6d8b022101077b8.tar.gz luajit-9cc8bbb7ae3675382d016e33b6d8b022101077b8.tar.bz2 luajit-9cc8bbb7ae3675382d016e33b6d8b022101077b8.zip |
ARM: Fix register hint for FFI calls with FP results.
-rw-r--r-- | src/lj_asm_arm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_asm_arm.h b/src/lj_asm_arm.h index a003d5ca..ac3d1b58 100644 --- a/src/lj_asm_arm.h +++ b/src/lj_asm_arm.h | |||
@@ -2255,7 +2255,7 @@ static Reg asm_setup_call_slots(ASMState *as, IRIns *ir, const CCallInfo *ci) | |||
2255 | } | 2255 | } |
2256 | if (nslots > as->evenspill) /* Leave room for args in stack slots. */ | 2256 | if (nslots > as->evenspill) /* Leave room for args in stack slots. */ |
2257 | as->evenspill = nslots; | 2257 | as->evenspill = nslots; |
2258 | return REGSP_HINT(RID_RET); | 2258 | return REGSP_HINT(irt_isfp(ir->t) ? RID_FPRET : RID_RET); |
2259 | } | 2259 | } |
2260 | 2260 | ||
2261 | static void asm_setup_target(ASMState *as) | 2261 | static void asm_setup_target(ASMState *as) |