組み込み関数を実�

This commit is contained in:
otya128 committed 2015-07-11 19:32:31 +09:00
1 parent 8a0ae76334
commit f10437449f
5 files changed
+29 -10

No files matched your search

+2 -2
View File
@@ -867,8 +867,8 @@ class CallBuiltinFunction : Code
}
override void execute(VM vm)
{
Value[] arg = vm.stack[vm.stacki - argcount..vm.stacki - 1];
Value[] result = vm.stack[vm.stacki - argcount..vm.stacki - argcount + outcount - 1];//雑;
Value[] arg = vm.stack[vm.stacki - argcount..vm.stacki];
Value[] result = vm.stack[vm.stacki - argcount..vm.stacki - argcount + outcount];//雑;
func.func(vm.petitcomputer, arg, result);
}
}