From 45ccb0e881064492a3f422b15b50dad71eed36fa Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 16 Oct 1997 08:59:34 -0200 Subject: "nupvalues" is kept in Closure, not in prototype (as a preparation for C closures...) --- lopcodes.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'lopcodes.h') diff --git a/lopcodes.h b/lopcodes.h index 5b1856d8..a4644b78 100644 --- a/lopcodes.h +++ b/lopcodes.h @@ -1,5 +1,5 @@ /* -** $Id: lopcodes.h,v 1.7 1997/10/06 14:51:11 roberto Exp roberto $ +** $Id: lopcodes.h,v 1.8 1997/10/13 22:12:04 roberto Exp roberto $ ** Opcodes for Lua virtual machine ** See Copyright Notice in lua.h */ @@ -135,8 +135,9 @@ IFTUPJMPW,/* w x - (x!=nil)? PC-=w */ IFFUPJMP,/* b x - (x==nil)? PC-=b */ IFFUPJMPW,/* w x - (x==nil)? PC-=w */ -CLOSURE,/* b v_1...v_n c(CNST[b]) */ -CLOSUREW,/* w v_1...v_n c(CNST[w]) */ +CLOSURE,/* b v_b...v_1 prt c(prt) */ +CLOSURE0,/* b prt c(prt) */ +CLOSURE1,/* b v_1 prt c(prt) */ CALLFUNC,/* b c v_c...v_1 f r_b...r_1 f(v1,...,v_c) */ CALLFUNC0,/* b v_b...v_1 f - f(v1,...,v_b) */ -- cgit v1.2.3-55-g6feb