Implement USE/EXEC compilation
This commit is contained in:
1 parent
0b9fd70bcb
commit
0440c33184
4 files changed
+59
-3
No files matched your search
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user