Update to Lua 5.4.1
Test: atest -p external/libtextclassifier
Fixes: 165898787
Fixes: 162128313
Fixes: 162128297
Test: atest -p external/libtextclassifier --all-abi
Change-Id: I7b3c82ba883ed57580e50f16c2f7450592fdec76
diff --git a/src/lobject.h b/src/lobject.h
index 04a81d3..a9d4578 100644
--- a/src/lobject.h
+++ b/src/lobject.h
@@ -96,7 +96,8 @@
/*
** Any value being manipulated by the program either is non
** collectable, or the collectable object has the right tag
-** and it is not dead.
+** and it is not dead. The option 'L == NULL' allows other
+** macros using this one to be used where L is not available.
*/
#define checkliveness(L,obj) \
((void)L, lua_longassert(!iscollectable(obj) || \
@@ -703,9 +704,9 @@
*/
#define BITRAS (1 << 7)
-#define isrealasize(t) (!((t)->marked & BITRAS))
-#define setrealasize(t) ((t)->marked &= cast_byte(~BITRAS))
-#define setnorealasize(t) ((t)->marked |= BITRAS)
+#define isrealasize(t) (!((t)->flags & BITRAS))
+#define setrealasize(t) ((t)->flags &= cast_byte(~BITRAS))
+#define setnorealasize(t) ((t)->flags |= BITRAS)
typedef struct Table {