diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-03-26 17:58:11 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-03-26 17:58:11 -0300 |
commit | 064e406f67c0153999a5246deb1d616b06ee9bb0 (patch) | |
tree | f4483ab6ad6d55484829a0d8a27b8afa1768a36e /lvm.c | |
parent | 5c87f61e6b1567400d2bd8f452939bb948f16dda (diff) | |
download | lua-064e406f67c0153999a5246deb1d616b06ee9bb0.tar.gz lua-064e406f67c0153999a5246deb1d616b06ee9bb0.tar.bz2 lua-064e406f67c0153999a5246deb1d616b06ee9bb0.zip |
no more fenvs!
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.105 2010/02/27 21:16:24 roberto Exp roberto $ | 2 | ** $Id: lvm.c,v 2.106 2010/03/12 19:14:06 roberto Exp roberto $ |
3 | ** Lua virtual machine | 3 | ** Lua virtual machine |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -771,7 +771,7 @@ void luaV_execute (lua_State *L) { | |||
771 | case OP_CLOSURE: { | 771 | case OP_CLOSURE: { |
772 | Proto *p = cl->p->p[GETARG_Bx(i)]; /* prototype for new closure */ | 772 | Proto *p = cl->p->p[GETARG_Bx(i)]; /* prototype for new closure */ |
773 | int nup = p->sizeupvalues; | 773 | int nup = p->sizeupvalues; |
774 | Closure *ncl = luaF_newLclosure(L, nup, cl->env); | 774 | Closure *ncl = luaF_newLclosure(L, nup); |
775 | Upvaldesc *uv = p->upvalues; | 775 | Upvaldesc *uv = p->upvalues; |
776 | int j; | 776 | int j; |
777 | ncl->l.p = p; | 777 | ncl->l.p = p; |