diff options
author | Mike Pall <mike> | 2022-05-02 22:33:35 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2022-05-02 22:33:35 +0200 |
commit | 3ee3c9cfa988339f1bf3068530515e2a6fb179d2 (patch) | |
tree | fb6fcc4f6dc16e32bed1a8451994d05279698903 /src | |
parent | f2b37f51f69ba7e9f8defd05e5aca648121f0fe6 (diff) | |
download | luajit-3ee3c9cfa988339f1bf3068530515e2a6fb179d2.tar.gz luajit-3ee3c9cfa988339f1bf3068530515e2a6fb179d2.tar.bz2 luajit-3ee3c9cfa988339f1bf3068530515e2a6fb179d2.zip |
Fix recording of __concat metamethod.
Reported by Elias Oelschner. Analyzed by XmiliaH.
Diffstat (limited to 'src')
-rw-r--r-- | src/lj_record.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_record.c b/src/lj_record.c index d48908e2..a56876c5 100644 --- a/src/lj_record.c +++ b/src/lj_record.c | |||
@@ -2043,7 +2043,7 @@ static TRef rec_tnew(jit_State *J, uint32_t ah) | |||
2043 | static TRef rec_cat(jit_State *J, BCReg baseslot, BCReg topslot) | 2043 | static TRef rec_cat(jit_State *J, BCReg baseslot, BCReg topslot) |
2044 | { | 2044 | { |
2045 | TRef *top = &J->base[topslot]; | 2045 | TRef *top = &J->base[topslot]; |
2046 | TValue savetv[5]; | 2046 | TValue savetv[5+LJ_FR2]; |
2047 | BCReg s; | 2047 | BCReg s; |
2048 | RecordIndex ix; | 2048 | RecordIndex ix; |
2049 | lj_assertJ(baseslot < topslot, "bad CAT arg"); | 2049 | lj_assertJ(baseslot < topslot, "bad CAT arg"); |