aboutsummaryrefslogtreecommitdiff
path: root/lcode.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2019-07-17 14:26:56 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2019-07-17 14:26:56 -0300
commitd6af81084df569bc8e3bd0949ad6fc0b40c8468d (patch)
tree103b92a3fd9b1164763500054f7979f51f9aa4b4 /lcode.h
parent4846f7e3bb1397142ab0de808ae59c08db9832a6 (diff)
downloadlua-d6af81084df569bc8e3bd0949ad6fc0b40c8468d.tar.gz
lua-d6af81084df569bc8e3bd0949ad6fc0b40c8468d.tar.bz2
lua-d6af81084df569bc8e3bd0949ad6fc0b40c8468d.zip
New kind of expression VKSTR
String literal expressions have their own kind VKSTR, instead of the generic VK. This allows strings to "cross" functions without entering their constant tables (e.g., if they are used only by some nested function).
Diffstat (limited to 'lcode.h')
-rw-r--r--lcode.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/lcode.h b/lcode.h
index 0c12bb64..8cecd538 100644
--- a/lcode.h
+++ b/lcode.h
@@ -62,7 +62,6 @@ LUAI_FUNC void luaK_fixline (FuncState *fs, int line);
62LUAI_FUNC void luaK_nil (FuncState *fs, int from, int n); 62LUAI_FUNC void luaK_nil (FuncState *fs, int from, int n);
63LUAI_FUNC void luaK_reserveregs (FuncState *fs, int n); 63LUAI_FUNC void luaK_reserveregs (FuncState *fs, int n);
64LUAI_FUNC void luaK_checkstack (FuncState *fs, int n); 64LUAI_FUNC void luaK_checkstack (FuncState *fs, int n);
65LUAI_FUNC int luaK_stringK (FuncState *fs, TString *s);
66LUAI_FUNC void luaK_int (FuncState *fs, int reg, lua_Integer n); 65LUAI_FUNC void luaK_int (FuncState *fs, int reg, lua_Integer n);
67LUAI_FUNC void luaK_dischargevars (FuncState *fs, expdesc *e); 66LUAI_FUNC void luaK_dischargevars (FuncState *fs, expdesc *e);
68LUAI_FUNC int luaK_exp2anyreg (FuncState *fs, expdesc *e); 67LUAI_FUNC int luaK_exp2anyreg (FuncState *fs, expdesc *e);