1
0

システム変数をダイレクトモードでも正常に使えるようにした

This commit is contained in:
otya128
2016-09-01 19:10:32 +09:00
parent f1ee1d1d6d
commit 2701bb9ebb

View File

@@ -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()