diff options
| -rw-r--r-- | c/c.c | 5 | ||||
| -rw-r--r-- | test/external/lua-5.4.0/src/liblua.a | bin | 527052 -> 0 bytes | |||
| -rwxr-xr-x | test/external/lua-5.4.0/src/luac | bin | 264168 -> 0 bytes |
3 files changed, 3 insertions, 2 deletions
@@ -3484,8 +3484,9 @@ compileexpr(struct function *fn, const struct expr *ex, bool discard) l = genload(fn, ex->ty, adr, ex->qual & QVOLATILE); if ((op != Oadd && op != Osub) || cls != KPTR) { l = cvt(fn, ty, sub[0].ty, l); - r = cvt(fn, ex->ty, sub[1].ty, r); - q = irbinop(fn, op, cls, l, r); + r = cvt(fn, ty, sub[1].ty, r); + q = irbinop(fn, op, type2cls[ty.t], l, r); + q = cvt(fn, ex->ty, ty, q); } else { q = genptroff(fn, op, typesize(typechild(ex->ty)), l, sub[1].ty, r); } diff --git a/test/external/lua-5.4.0/src/liblua.a b/test/external/lua-5.4.0/src/liblua.a Binary files differdeleted file mode 100644 index 9aa32ed..0000000 --- a/test/external/lua-5.4.0/src/liblua.a +++ /dev/null diff --git a/test/external/lua-5.4.0/src/luac b/test/external/lua-5.4.0/src/luac Binary files differdeleted file mode 100755 index 00e7a27..0000000 --- a/test/external/lua-5.4.0/src/luac +++ /dev/null |