システム変数をダイレクトモードでも正常に使えるようにした
This commit is contained in:
@@ -1151,6 +1151,7 @@ class Compiler
|
|||||||
globalIndex = cast(int)vm.currentSlot.global.length;
|
globalIndex = cast(int)vm.currentSlot.global.length;
|
||||||
functions = vm.currentSlot.functions;
|
functions = vm.currentSlot.functions;
|
||||||
compileProgram();
|
compileProgram();
|
||||||
|
registerSystemVariable(vm);
|
||||||
vm.directSlot(start, code, globalIndex + 1, global, functions, globalScope.data, globalLabel, debugInfo);
|
vm.directSlot(start, code, globalIndex + 1, global, functions, globalScope.data, globalLabel, debugInfo);
|
||||||
}
|
}
|
||||||
VM compile()
|
VM compile()
|
||||||
|
|||||||
Reference in New Issue
Block a user