Module 'vm'
-
disassemble(fn)
Returns a string containing the bytecode of fn. Throws
TypeError
if fn is not aFunction
or if fn is a native function -
gc()
Runs garbage collection
-
generateStackTrace(depth)
Returns the stack trace at depth
depth
. ThrowsTypeError
if depth is not anInt
-
ecall(op,args)
Calls EFunc
op
with argumentargs
. Throws TypeError ifop
is not a symbol andError
ifop
is not an EFunc -
currentTask()
Returns the current task
-
suspendCurrentTask()
Suspends the current task and adds it to the back of the queue.