Commit Graph

1815 Commits

Author SHA1 Message Date
Mike Pall
856423f5da Fix runtime library flags for MSVC debug builds.
Reported by igor725. #1127
2023-12-10 15:00:52 +01:00
Mike Pall
dcf3627d79 Fix .debug_abbrev section in GDB JIT API.
Thanks to Dmitry Stogov. #1129
2023-12-10 14:48:34 +01:00
Mike Pall
1761fd2ef7 Emit sunk IR_NEWREF only once per key on snapshot replay.
Thanks to Sergey Kaplun and Peter Cawley. #1128
2023-12-10 14:29:45 +01:00
Mike Pall
644723649e x86/x64: Don't fuse loads across IR_NEWREF.
Reported by Peter Cawley. #1117
2023-11-14 22:50:21 +01:00
Mike Pall
d854d00ce9 x86/x64: Add more red zone checks to assembler backend.
Thanks to Peter Cawley. #1116
2023-11-12 15:18:44 +01:00
Mike Pall
a4c1640432 Add stack check to pcall/xpcall.
Analyzed by Peter Cawley. #1048
2023-11-12 14:42:24 +01:00
Mike Pall
65c8493907 Invalidate SCEV entry when returning to lower frame.
Thanks to Zhongwei Yao. #1115
2023-11-09 11:02:36 +01:00
Mike Pall
433d7e8d8d FFI: Fix pragma push stack limit check and throw on overflow.
Reported by Sergey Kaplun. #1114
2023-11-07 22:25:42 +01:00
Mike Pall
d133d67c88 x64: Properly fix __call metamethod return dispatch.
Reported by Sergey Kaplun. #1110
2023-11-05 11:31:08 +01:00
Mike Pall
db944b2b56 FFI: Fix dangling reference to CType in carith_checkarg().
Reported by Sergey Kaplun. #1108
2023-10-21 13:11:50 +02:00
Mike Pall
f72c19e482 Maintain chain invariant in DCE.
Thanks to Peter Cawley. #1094
2023-09-22 21:04:22 +02:00
Mike Pall
aa6b15c1a8 Follow-up fix for stack overflow handling cleanup. 2023-09-21 04:43:40 +02:00
Mike Pall
b138ccfa91 Handle all stack layouts in (delayed) TRACE vmevent.
Thanks to Sergey Bronnikov and Peter Cawley. #1087
2023-09-21 02:15:16 +02:00
Mike Pall
92b89d005a Add missing coercion when recording select(string, ...)
Thanks to Peter Cawley. #1083
2023-09-21 02:10:18 +02:00
Mike Pall
d2f6c55b05 Cleanup stack overflow handling.
Reported by Peter Cawley. #962
2023-09-21 01:58:43 +02:00
Mike Pall
9760984638 Allow path overrides in genversion.lua with minilua, too.
Thanks to arch1t3cht. #1067
2023-09-10 05:23:10 +02:00
Mike Pall
4fe2002292 Improve architecture detection error messages. 2023-09-09 23:01:26 +02:00
Mike Pall
44da356e97 ARM: Fix stack check code generation.
Thanks to Peter Cawley. #1068
2023-09-09 18:16:31 +02:00
Mike Pall
43eff4aad4 Fix mcode limit check for non-x86 archs.
Thanks to Peter Cawley.
2023-09-09 17:44:54 +02:00
Mike Pall
7f9907b4ed Add NaN check to IR_NEWREF.
Thanks to Peter Cawley. #1069
2023-09-09 13:37:31 +02:00
Mike Pall
4d05806ae0 Allow override of paths for genversion.lua.
Thanks to arch1t3cht. #1067
2023-09-09 12:47:27 +02:00
Mike Pall
19707009bf Fix native MinGW build.
Thanks to Victor Bombi. #1071
2023-09-09 12:41:47 +02:00
Mike Pall
c6ee7e19d1 Update external MSDN URL in code.
Thanks to Kyle Marshall. #1060
2023-08-29 22:27:38 +02:00
Mike Pall
0ef51b495f Handle table unsinking in the presence of IRFL_TAB_NOMM.
Reported by Sergey Kaplun. #1052
2023-08-28 22:15:42 +02:00
Mike Pall
6a3111a57f Use fallback name for install files without valid .git or .relver. 2023-08-28 21:25:51 +02:00
Mike Pall
a0b52aae33 Handle non-.git checkout with .relver in .bat-file builds.
Thanks to Simon Cooke.
2023-08-28 21:59:01 +02:00
Mike Pall
14e2917e7a Fix external C call stack check when using LUAJIT_MODE_WRAPCFUNC.
Thanks to Peter Cawley. #1047
2023-08-28 21:04:01 +02:00
Mike Pall
309fb42b87 Fix predict_next() in parser (again).
Reported by Sergey Bronnikov. #1054
2023-08-28 21:00:37 +02:00
Mike Pall
d0ce82ecdc Handle the case when .git is not a directory.
Thanks to Alexander Shpilkin.
2023-08-22 17:04:22 +02:00
Mike Pall
6a2163a6b4 Add .gitattributes to dynamically resolve .relver.
Thanks to Alexander Shpilkin.
2023-08-22 15:36:55 +02:00
Mike Pall
ed21acd863 Fix Windows build scripts for rolling releases.
Reported by Miku AuahDark.
2023-08-21 13:08:00 +02:00
Mike Pall
6351abc78f Switch MSVC and console build scripts to rolling releases. 2023-08-21 03:59:03 +02:00
Mike Pall
50e0fa03c4 Switch build system to rolling releases. 2023-08-21 03:06:26 +02:00
Mike Pall
c345946819 Update documentation for switch to rolling releases. 2023-08-21 02:28:49 +02:00
Mike Pall
158a284cc9 Bump copyright date. 2023-08-20 21:25:30 +02:00
Mike Pall
abb27c7771 Fix maxslots when recording BC_VARG, part 3.
Thanks to Peter Cawley. #1046
2023-08-12 20:16:56 +02:00
Mike Pall
caf7cbc57c Fix predict_next() in parser.
Reported by Sergey Kaplun. #1033
2023-08-12 16:21:41 +02:00
Mike Pall
aa2db7ebd1 Fix base register coalescing in side trace.
Thanks to Sergey Kaplun, NiLuJe and Peter Cawley. #1031 #1016
2023-07-12 21:56:17 +02:00
Mike Pall
a01cba9d2d Fix maxslots when recording BC_VARG, part 2.
Analyzed by Sergey Kaplun. #1024
2023-07-09 21:08:12 +02:00
Mike Pall
94ada59628 Fix maxslots when recording BC_VARG.
Analyzed by Sergey Kaplun. #1024
2023-07-08 19:40:12 +02:00
Mike Pall
b7a8c7c184 Fix register mask for stack check in head of side trace.
Analyzed by Sergey Kaplun. #1016
2023-07-08 19:36:24 +02:00
Mike Pall
4c35a42d9c FFI: Fix ffi.metatype() for non-raw types.
Reported by 999pingGG. #1005
2023-07-08 19:30:56 +02:00
Mike Pall
9f452bbef5 Fix handling of instable types in TNEW/TDUP load forwarding.
Analyzed by Sergey Kaplun. #994
2023-06-02 11:38:45 +02:00
Mike Pall
8c20c3b1a3 Fix compiler warning.
Reported by Myriachan.
2023-06-02 11:36:24 +02:00
Mike Pall
c7db8255e1 Fix TDUP load forwarding after table rehash.
Reported by Sergey Kaplun. #980
2023-04-16 13:26:18 +02:00
Mike Pall
96fc114a7a Fix canonicalization of +-0.0 keys for IR_NEWREF.
Reported by Sergey Kaplun. #981
2023-04-16 13:24:08 +02:00
Mike Pall
8135de2a02 Improve error reporting on stack overflow.
Thanks to Nicolas Lebedenco.
2023-02-21 17:05:12 +01:00
Mike Pall
126526ab93 Allow building sources with mixed LF/CRLF line-endings.
Reported by mgood7123.
2023-02-21 16:49:51 +01:00
Mike Pall
8a5e398c52 Avoid negation of signed integers in C that may hold INT*_MIN.
Reported by minoki.
Recent C compilers 'take advantage' of the undefined behavior.
This completely changes the meaning of expressions like (k == -k).
2022-12-22 00:03:06 +01:00
Mike Pall
b2791179ef Correct fix for stack check when recording BC_VARG.
Reported by Yichun Zhang.
2022-12-09 00:20:05 +01:00