1
0
mirror of https://github.com/janet-lang/janet synced 2025-11-13 05:47:14 +00:00

Enable debug opcode in vm and debug state for fibers.

This commit is contained in:
Calvin Rose
2018-03-09 17:14:26 -05:00
parent eee453d2c0
commit 0c3b0673ff
7 changed files with 70 additions and 43 deletions

View File

@@ -38,6 +38,7 @@ DstFiber *dst_fiber(int32_t capacity) {
}
fiber->parent = NULL;
fiber->maxstack = DST_STACK_MAX;
fiber->flags = DST_FIBER_MASK_DEBUG;
return dst_fiber_reset(fiber);
}