[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: A proposal for safe bytecode in Lua 5.2
- From: Roberto Ierusalimschy <roberto@...>
- Date: Mon, 18 Apr 2011 15:48:11 -0300
> - ,opmode(0, 1, OpArgR, OpArgN, iABC) /* OP_LOADNIL */
> + ,opmode(0, 1, OpArgU, OpArgN, iABC) /* OP_LOADNIL */
There seems to be a problem here. OP_LOADNIL uses the macro RB like
any other instruction that uses B as a register, and this macro
asserts that the instruction has OpArgR for B. (I would prefer
to leave this OpArgR as it is...)
-- Roberto