1
0
This commit is contained in:
otya128
2017-07-23 19:13:43 +09:00
parent c235687096
commit 3eae20517a
3 changed files with 17 additions and 1 deletions

View File

@@ -744,6 +744,11 @@ class PopG : Code
vm.currentSlot.global[var] = Value(cast(int)v.doubleValue);
return;
}
if (g.isNonStringArray && v.isNonStringArray)
{
vm.currentSlot.global[var] = v;
return;
}
if(g.type == ValueType.Void)
{
vm.currentSlot.global[var] = v;
@@ -816,6 +821,11 @@ class PopL : Code
vm.stack[vm.bp + var] = Value(cast(int)v.doubleValue);
return;
}
if (g.isNonStringArray && v.isNonStringArray)
{
vm.stack[vm.bp + var] = v;
return;
}
if(g.type == ValueType.Void)
{
vm.stack[vm.bp + var] = v;