internal static void concat(Instruction i, ref LuaVM vm) { var abc = i.ABC(); var a = abc.Item1 + 1; var b = abc.Item2 + 1; var c = abc.Item3 + 1; var n = c - b + 1; vm.CheckStack(n); for (var l = b; l <= c; l++) { vm.PushValue(l); } vm.Concat(n); vm.Replace(a); }
internal static void Concat(Instruction i, ref LuaVM vm) { var(a, b, c) = i.ABC(); a += 1; b += 1; c += 1; var n = c - b + 1; vm.CheckStack(n); for (var l = b; l <= c; l++) { vm.PushValue(l); } vm.Concat(n); vm.Replace(a); }