diff options
Diffstat (limited to 'src/lj_ffrecord.c')
-rw-r--r-- | src/lj_ffrecord.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lj_ffrecord.c b/src/lj_ffrecord.c index 92902b70..3ef92034 100644 --- a/src/lj_ffrecord.c +++ b/src/lj_ffrecord.c | |||
@@ -1317,7 +1317,7 @@ static void LJ_FASTCALL recff_buffer_method_decode(jit_State *J, RecordFFData *r | |||
1317 | trr = lj_ir_call(J, IRCALL_lj_serialize_get, trbuf, tmp); | 1317 | trr = lj_ir_call(J, IRCALL_lj_serialize_get, trbuf, tmp); |
1318 | /* No IR_USE needed, since the call is a store. */ | 1318 | /* No IR_USE needed, since the call is a store. */ |
1319 | t = (IRType)lj_serialize_peektype(bufV(&rd->argv[0])); | 1319 | t = (IRType)lj_serialize_peektype(bufV(&rd->argv[0])); |
1320 | J->base[0] = lj_record_vload(J, tmp, t); | 1320 | J->base[0] = lj_record_vload(J, tmp, 0, t); |
1321 | /* The sbx->r store must be after the VLOAD type check, in case it fails. */ | 1321 | /* The sbx->r store must be after the VLOAD type check, in case it fails. */ |
1322 | recff_sbufx_set_ptr(J, ud, IRFL_SBUF_R, trr); | 1322 | recff_sbufx_set_ptr(J, ud, IRFL_SBUF_R, trr); |
1323 | } | 1323 | } |
@@ -1350,7 +1350,7 @@ static void LJ_FASTCALL recff_buffer_decode(jit_State *J, RecordFFData *rd) | |||
1350 | memset(&sbx, 0, sizeof(SBufExt)); | 1350 | memset(&sbx, 0, sizeof(SBufExt)); |
1351 | lj_bufx_set_cow(J->L, &sbx, strdata(str), str->len); | 1351 | lj_bufx_set_cow(J->L, &sbx, strdata(str), str->len); |
1352 | t = (IRType)lj_serialize_peektype(&sbx); | 1352 | t = (IRType)lj_serialize_peektype(&sbx); |
1353 | J->base[0] = lj_record_vload(J, tmp, t); | 1353 | J->base[0] = lj_record_vload(J, tmp, 0, t); |
1354 | } /* else: Interpreter will throw. */ | 1354 | } /* else: Interpreter will throw. */ |
1355 | } | 1355 | } |
1356 | 1356 | ||