diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2004-11-01 12:06:50 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2004-11-01 12:06:50 -0300 |
commit | 737ec947d3f33e73e587f7020dba40b1818ac64d (patch) | |
tree | b34f39f07b9cf9c9b079145140fa5c9651c81e8d /lvm.c | |
parent | 45d566f67691ccae8fe4e5299f9a77873f6c223c (diff) | |
download | lua-737ec947d3f33e73e587f7020dba40b1818ac64d.tar.gz lua-737ec947d3f33e73e587f7020dba40b1818ac64d.tar.bz2 lua-737ec947d3f33e73e587f7020dba40b1818ac64d.zip |
better implementation for `floating-point bytes'
Diffstat (limited to 'lvm.c')
-rw-r--r-- | lvm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lvm.c,v 2.15 2004/10/04 19:01:53 roberto Exp roberto $ | 2 | ** $Id: lvm.c,v 2.16 2004/10/28 17:45:51 roberto Exp $ |
3 | ** Lua virtual machine | 3 | ** Lua virtual machine |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -461,7 +461,7 @@ StkId luaV_execute (lua_State *L, int nexeccalls) { | |||
461 | } | 461 | } |
462 | case OP_NEWTABLE: { | 462 | case OP_NEWTABLE: { |
463 | int b = GETARG_B(i); | 463 | int b = GETARG_B(i); |
464 | b = fb2int(b); | 464 | b = luaO_fb2int(b); |
465 | sethvalue(L, ra, luaH_new(L, b, GETARG_C(i))); | 465 | sethvalue(L, ra, luaH_new(L, b, GETARG_C(i))); |
466 | L->ci->savedpc = pc; | 466 | L->ci->savedpc = pc; |
467 | luaC_checkGC(L); /***/ | 467 | luaC_checkGC(L); /***/ |