added vm.disassemble()

This commit is contained in:
2023-06-01 19:04:12 -05:00
committed by cpunch
parent d27d94975e
commit d3647c161b
2 changed files with 30 additions and 2 deletions

View File

@@ -50,6 +50,7 @@ COSMO_API void cosmoB_loadMathLib(CState *state);
- manually setting/grabbing base protos of any object (vm.baseProtos)
- manually setting/grabbing the global table (vm.globals)
- manually invoking a garbage collection event (vm.collect())
- printing closure disassemblies (vm.disassemble())
for this reason, it is recommended to NOT load this library in production
*/