1
0

Implement EXEC

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

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