aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Pall <mike>2023-08-13 03:02:25 +0200
committerMike Pall <mike>2023-08-13 03:02:25 +0200
commit72efc42ef2258086a9cb797c676e2916b0a9e7e1 (patch)
tree8b55c54322af96d6c514c389fa9c8ccba25d76c6 /src
parent119fd1fab0ebf235669456fbb57ee872fb05fc73 (diff)
downloadluajit-72efc42ef2258086a9cb797c676e2916b0a9e7e1.tar.gz
luajit-72efc42ef2258086a9cb797c676e2916b0a9e7e1.tar.bz2
luajit-72efc42ef2258086a9cb797c676e2916b0a9e7e1.zip
MIPS: Fix "bad FP FLOAD" assertion.
Reported by Sergey Kaplun. #1043
Diffstat (limited to 'src')
-rw-r--r--src/lj_asm_mips.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_asm_mips.h b/src/lj_asm_mips.h
index e9cce916..8824081e 100644
--- a/src/lj_asm_mips.h
+++ b/src/lj_asm_mips.h
@@ -1337,8 +1337,8 @@ static void asm_fload(ASMState *as, IRIns *ir)
1337 } 1337 }
1338 } 1338 }
1339 ofs = field_ofs[ir->op2]; 1339 ofs = field_ofs[ir->op2];
1340 lj_assertA(!irt_isfp(ir->t), "bad FP FLOAD");
1340 } 1341 }
1341 lj_assertA(!irt_isfp(ir->t), "bad FP FLOAD");
1342 emit_tsi(as, mi, dest, idx, ofs); 1342 emit_tsi(as, mi, dest, idx, ofs);
1343} 1343}
1344 1344