Implement EXEC

This commit is contained in:
otya128 committed 2016-12-23 19:25:55 +09:00
1 parent e8ebda83b1
commit a05c1558fa
4 files changed
+68 -11

No files matched your search

+7
View File
@@ -1336,6 +1336,13 @@ class Compiler
registerSystemVariable(vm);
return vm;
}
void compile(VM vm, int slot)
{
isDirectMode = false;
this.vm = vm;
compileProgram();
vm.loadSlot(slot, code, globalIndex + 1, global, functions, globalScope.data, globalLabel, debugInfo);
}
}
unittest