diff options
| author | Mike Pall <mike> | 2012-10-29 17:21:44 +0100 |
|---|---|---|
| committer | Mike Pall <mike> | 2012-10-29 17:21:44 +0100 |
| commit | b0dde5b2b1080a00d93828f5db71c4e354e13306 (patch) | |
| tree | 8098d313d2db688b575be92f36912e5882eece77 | |
| parent | 4e7fe815ed40d6830c11f3350a1f966b03b506c6 (diff) | |
| download | luajit-b0dde5b2b1080a00d93828f5db71c4e354e13306.tar.gz luajit-b0dde5b2b1080a00d93828f5db71c4e354e13306.tar.bz2 luajit-b0dde5b2b1080a00d93828f5db71c4e354e13306.zip | |
FFI: Fix code generation for replay of sunk float fields.
| -rw-r--r-- | src/lj_asm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_asm.c b/src/lj_asm.c index 6afc70a0..4a1af480 100644 --- a/src/lj_asm.c +++ b/src/lj_asm.c | |||
| @@ -1391,7 +1391,7 @@ static void asm_head_side(ASMState *as) | |||
| 1391 | ra_sethint(ir->r, rs); /* Hint may be gone, set it again. */ | 1391 | ra_sethint(ir->r, rs); /* Hint may be gone, set it again. */ |
| 1392 | else if (sps_scale(regsp_spill(rs))+spdelta == sps_scale(ir->s)) | 1392 | else if (sps_scale(regsp_spill(rs))+spdelta == sps_scale(ir->s)) |
| 1393 | continue; /* Same spill slot, do nothing. */ | 1393 | continue; /* Same spill slot, do nothing. */ |
| 1394 | mask = ((!LJ_SOFTFP && irt_isnum(ir->t)) ? RSET_FPR : RSET_GPR) & allow; | 1394 | mask = ((!LJ_SOFTFP && irt_isfp(ir->t)) ? RSET_FPR : RSET_GPR) & allow; |
| 1395 | if (mask == RSET_EMPTY) | 1395 | if (mask == RSET_EMPTY) |
| 1396 | lj_trace_err(as->J, LJ_TRERR_NYICOAL); | 1396 | lj_trace_err(as->J, LJ_TRERR_NYICOAL); |
| 1397 | r = ra_allocref(as, i, mask); | 1397 | r = ra_allocref(as, i, mask); |
