Hugo Musso Gualandi 5 سال پیش
والد
کامیت
8a1e53e595
1فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  1. 3 1
      src/luaot.c

+ 3 - 1
src/luaot.c

@@ -618,7 +618,9 @@ void create_function(Proto *p)
         println("    (void) ra;");
 
         switch (op) {
-            // cass OP_MOVE:
+            case OP_MOVE:
+                println("    setobjs2s(L, ra, RB(i));");
+                break;
             case OP_LOADI: {
                 println("    lua_Integer b = GETARG_sBx(i);");
                 println("    setivalue(s2v(ra), b);");