diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-01-18 15:39:06 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-01-18 15:39:06 -0200 |
commit | 448517e47e40814f6ee12eae8dd6c3120f1d48bb (patch) | |
tree | 46884b1c0793e05276f5ee3111d7b52f6535a268 /ldo.c | |
parent | 931ee346e34aeb9d46bbf99f5da1f628a9812050 (diff) | |
download | lua-448517e47e40814f6ee12eae8dd6c3120f1d48bb.tar.gz lua-448517e47e40814f6ee12eae8dd6c3120f1d48bb.tar.bz2 lua-448517e47e40814f6ee12eae8dd6c3120f1d48bb.zip |
no more linehook field in CallInfo
Diffstat (limited to 'ldo.c')
-rw-r--r-- | ldo.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldo.c,v 1.1 2001/11/29 22:14:34 rieru Exp rieru $ | 2 | ** $Id: ldo.c,v 1.154 2002/01/11 20:27:41 roberto Exp $ |
3 | ** Stack and Call structure of Lua | 3 | ** Stack and Call structure of Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -148,12 +148,12 @@ StkId luaD_precall (lua_State *L, StkId func) { | |||
148 | if (!cl->isC) { /* Lua function? prepare its call */ | 148 | if (!cl->isC) { /* Lua function? prepare its call */ |
149 | StkId base = func+1; | 149 | StkId base = func+1; |
150 | Proto *p = cl->p; | 150 | Proto *p = cl->p; |
151 | ci->linehook = L->linehook; | ||
152 | ci->savedpc = p->code; /* starting point */ | 151 | ci->savedpc = p->code; /* starting point */ |
153 | if (p->is_vararg) /* varargs? */ | 152 | if (p->is_vararg) /* varargs? */ |
154 | adjust_varargs(L, base, p->numparams); | 153 | adjust_varargs(L, base, p->numparams); |
155 | if (base > L->stack_last - p->maxstacksize) | 154 | if (base > L->stack_last - p->maxstacksize) |
156 | luaD_stackerror(L); | 155 | luaD_stackerror(L); |
156 | ci->line = 0; | ||
157 | ci->top = base + p->maxstacksize; | 157 | ci->top = base + p->maxstacksize; |
158 | while (L->top < ci->top) | 158 | while (L->top < ci->top) |
159 | setnilvalue(L->top++); | 159 | setnilvalue(L->top++); |