Implement USE/EXEC compilation

This commit is contained in:
otya128 committed 2016-12-23 17:16:38 +09:00
1 parent 0b9fd70bcb
commit 0440c33184
4 files changed
+59 -3

No files matched your search

+19
View File
@@ -2182,3 +2182,22 @@ class Pop : Code
vm.decSP();
}
}
class Exec : Code
{
override void execute(VM vm)
{
Value arg;
vm.pop(arg);
}
}
class Use : Code
{
override void execute(VM vm)
{
Value arg;
vm.pop(arg);
}
}