diff options
Diffstat (limited to 'src/lj_ffrecord.c')
| -rw-r--r-- | src/lj_ffrecord.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lj_ffrecord.c b/src/lj_ffrecord.c index 6c7eb2a0..844fc497 100644 --- a/src/lj_ffrecord.c +++ b/src/lj_ffrecord.c | |||
| @@ -455,6 +455,7 @@ static void LJ_FASTCALL recff_pcall(jit_State *J, RecordFFData *rd) | |||
| 455 | #endif | 455 | #endif |
| 456 | lj_record_call(J, 0, J->maxslot - 1); | 456 | lj_record_call(J, 0, J->maxslot - 1); |
| 457 | rd->nres = -1; /* Pending call. */ | 457 | rd->nres = -1; /* Pending call. */ |
| 458 | J->needsnap = 1; /* Start catching on-trace errors. */ | ||
| 458 | } /* else: Interpreter will throw. */ | 459 | } /* else: Interpreter will throw. */ |
| 459 | } | 460 | } |
| 460 | 461 | ||
| @@ -490,6 +491,7 @@ static void LJ_FASTCALL recff_xpcall(jit_State *J, RecordFFData *rd) | |||
| 490 | if (errcode) | 491 | if (errcode) |
| 491 | lj_err_throw(J->L, errcode); /* Propagate errors. */ | 492 | lj_err_throw(J->L, errcode); /* Propagate errors. */ |
| 492 | rd->nres = -1; /* Pending call. */ | 493 | rd->nres = -1; /* Pending call. */ |
| 494 | J->needsnap = 1; /* Start catching on-trace errors. */ | ||
| 493 | } /* else: Interpreter will throw. */ | 495 | } /* else: Interpreter will throw. */ |
| 494 | } | 496 | } |
| 495 | 497 | ||
