@ -122,6 +124,8 @@ static int test_luacompexec1(const char *code, int expected)
returnrc;
}
#else
structMyValue{
inttype;
union{
@ -231,7 +235,7 @@ Lerror:
returnrc;
}
staticinttest_asmvm()
staticinttest_vm()
{
intfailures=0;
structMyValueargs[3];
@ -258,6 +262,9 @@ static int test_asmvm()
failures+=do_asmvm_test("return function (a) for i=1,4,2 do a=i; end return a end",0,NULL,1,results);// OP_LOADK, OP_MOVE, OP_RETURN, OP_RAVI_FOPREP_IP, OP_RAVI_FORLOOP_IP