pull/81/head
Dibyendu Majumdar 9 years ago
parent 5d67a7196d
commit 2666323e00

@ -192,6 +192,19 @@ Ravi should be able to run all Lua 5.3 programs in interpreted mode. When JIT co
* ``pairs()`` and ``ipairs()`` work on Ravi arrays since release 0.4 but more testing needed (issues 24 and 25)
* Upvalues cannot subvert the static typing of local variables since release 0.4 but more testing is needed (issue 26)
* Lua C API may not work correctly for Ravi arrays, although some initial work has been done in this area (issue 9)
* Certain Lua limits are reduced due to changed byte code structure. These are described below.
+-----------------+-------------+-------------+
| Limit name | Lua value | Ravi value |
+=================+=============+=============+
| MAXUPVAL | 255 | 125 |
+-----------------+-------------+-------------+
| LUAI_MAXCCALLS | 200 | 125 |
+-----------------+-------------+-------------+
| MAXREGS | 255 | 125 |
+-----------------+-------------+-------------+
| MAXVARS | 200 | 125 |
+-----------------+-------------+-------------+
Build Dependencies - LLVM version
---------------------------------

@ -322,7 +322,7 @@ assert(x() == 24)
-- test for dump/undump with many upvalues
do
local nup = 124 -- RAVI change; was 200 -- maximum number of local variables
local nup = 123 -- RAVI change; was 200 -- maximum number of local variables
local prog = {"local a1"}
for i = 2, nup do prog[#prog + 1] = ", a" .. i end
prog[#prog + 1] = " = 1"

@ -199,11 +199,11 @@ Ravi should be able to run all Lua 5.3 programs in interpreted mode. When JIT co
+=================+=============+=============+
| MAXUPVAL | 255 | 125 |
+-----------------+-------------+-------------+
| LUAI_MAXCCALLS | 125 | 200 |
| LUAI_MAXCCALLS | 200 | 125 |
+-----------------+-------------+-------------+
| MAXREGS | 127 | 255 |
| MAXREGS | 255 | 125 |
+-----------------+-------------+-------------+
| MAXVARS | 125 | 200 |
| MAXVARS | 200 | 125 |
+-----------------+-------------+-------------+
Build Dependencies - LLVM version

@ -30,7 +30,7 @@
/* Maximum number of registers in a Lua function (must fit in operand A) */
#define MAXREGS MAXARG_A
#define MAXREGS 125
/* RAVI change; #define MAXREGS 255 */

Loading…
Cancel
Save