aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1995-11-10 12:12:02 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1995-11-10 12:12:02 -0200
commit87fe07c0d4e2fc5ef973e331da82974d2886e80c (patch)
treee5af04d6582d7815e70badc61a9f6a17aacdd27b
parentf9a9bd77e419992a4744aa84ef2f453cd44d5a53 (diff)
downloadlua-87fe07c0d4e2fc5ef973e331da82974d2886e80c.tar.gz
lua-87fe07c0d4e2fc5ef973e331da82974d2886e80c.tar.bz2
lua-87fe07c0d4e2fc5ef973e331da82974d2886e80c.zip
little improvement
-rw-r--r--opcode.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/opcode.c b/opcode.c
index 12eac8c1..751afdcc 100644
--- a/opcode.c
+++ b/opcode.c
@@ -3,7 +3,7 @@
3** TecCGraf - PUC-Rio 3** TecCGraf - PUC-Rio
4*/ 4*/
5 5
6char *rcs_opcode="$Id: opcode.c,v 3.47 1995/10/25 13:05:51 roberto Exp roberto $"; 6char *rcs_opcode="$Id: opcode.c,v 3.48 1995/10/26 14:21:56 roberto Exp roberto $";
7 7
8#include <setjmp.h> 8#include <setjmp.h>
9#include <stdlib.h> 9#include <stdlib.h>
@@ -178,11 +178,8 @@ static void adjust_top (StkId newtop)
178 top = nt; /* top could be bigger than newtop */ 178 top = nt; /* top could be bigger than newtop */
179} 179}
180 180
181#define adjustC(nParams) adjust_top(CBase+nParams)
181 182
182static void adjustC (int nParams)
183{
184 adjust_top(CBase+nParams);
185}
186 183
187/* 184/*
188** Open a hole below "nelems" from the top. 185** Open a hole below "nelems" from the top.