diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-07-12 16:13:50 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-07-12 16:13:50 -0300 |
commit | 1fb4d539254b67e7e35ed698250c66d1edff0e08 (patch) | |
tree | 8f48b7ca736a7fb02834bcfac1415cd43307f529 /lobject.h | |
parent | f6aab3ec1f111cd8d968bdcb7ca800e93b819d24 (diff) | |
download | lua-1fb4d539254b67e7e35ed698250c66d1edff0e08.tar.gz lua-1fb4d539254b67e7e35ed698250c66d1edff0e08.tar.bz2 lua-1fb4d539254b67e7e35ed698250c66d1edff0e08.zip |
OP_NEWTABLE keeps exact size of arrays
OP_NEWTABLE is followed by an OP_EXTRAARG, so that it can keep
the exact size of the array part of the table to be created.
(Functions 'luaO_int2fb'/'luaO_fb2int' were removed.)
Diffstat (limited to 'lobject.h')
-rw-r--r-- | lobject.h | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -734,8 +734,6 @@ typedef struct Table { | |||
734 | /* size of buffer for 'luaO_utf8esc' function */ | 734 | /* size of buffer for 'luaO_utf8esc' function */ |
735 | #define UTF8BUFFSZ 8 | 735 | #define UTF8BUFFSZ 8 |
736 | 736 | ||
737 | LUAI_FUNC int luaO_int2fb (unsigned int x); | ||
738 | LUAI_FUNC int luaO_fb2int (int x); | ||
739 | LUAI_FUNC int luaO_utf8esc (char *buff, unsigned long x); | 737 | LUAI_FUNC int luaO_utf8esc (char *buff, unsigned long x); |
740 | LUAI_FUNC int luaO_ceillog2 (unsigned int x); | 738 | LUAI_FUNC int luaO_ceillog2 (unsigned int x); |
741 | LUAI_FUNC int luaO_rawarith (lua_State *L, int op, const TValue *p1, | 739 | LUAI_FUNC int luaO_rawarith (lua_State *L, int op, const TValue *p1, |