diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-06-01 14:40:38 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-06-01 14:40:38 -0300 |
commit | 505fc9122255b8a2ef761720bca21fd5e9be8e73 (patch) | |
tree | cf3fe8068546547e7f53e86e16a32ee923a4c514 /lobject.c | |
parent | fb8fa661366e15e98c60d8929feaab9e551a02f9 (diff) | |
download | lua-505fc9122255b8a2ef761720bca21fd5e9be8e73.tar.gz lua-505fc9122255b8a2ef761720bca21fd5e9be8e73.tar.bz2 lua-505fc9122255b8a2ef761720bca21fd5e9be8e73.zip |
no more 'luaO_nilobject' to avoid comparison of global variable addresses
(now uses static variables)
Diffstat (limited to 'lobject.c')
-rw-r--r-- | lobject.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lobject.c,v 2.124 2018/02/27 18:47:32 roberto Exp roberto $ | 2 | ** $Id: lobject.c,v 2.125 2018/04/25 16:26:20 roberto Exp roberto $ |
3 | ** Some generic functions over Lua objects | 3 | ** Some generic functions over Lua objects |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -29,10 +29,6 @@ | |||
29 | #include "lvm.h" | 29 | #include "lvm.h" |
30 | 30 | ||
31 | 31 | ||
32 | |||
33 | LUAI_DDEF const TValue luaO_nilobject_ = {NILCONSTANT}; | ||
34 | |||
35 | |||
36 | /* | 32 | /* |
37 | ** converts an integer to a "floating point byte", represented as | 33 | ** converts an integer to a "floating point byte", represented as |
38 | ** (eeeeexxx), where the real value is (1xxx) * 2^(eeeee - 1) if | 34 | ** (eeeeexxx), where the real value is (1xxx) * 2^(eeeee - 1) if |