summaryrefslogtreecommitdiff
path: root/py/vm.c
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-12-09 10:57:40 +0200
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-12-09 11:01:34 +0200
commitd72370def72c74ca98c1ec4eb7b58ba0fbcc9629 (patch)
tree6fe46b90e93d71850b529d86c144ba4275b80c01 /py/vm.c
parentfca1d1aa62306fc523d192c1e2dd2d20dccbe94f (diff)
py/objfun, vm: Add comments on codestate allocation in stackless mode.
Diffstat (limited to 'py/vm.c')
-rw-r--r--py/vm.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/py/vm.c b/py/vm.c
index 564200037..e6679729b 100644
--- a/py/vm.c
+++ b/py/vm.c
@@ -937,6 +937,9 @@ unwind_jump:;
deep_recursion_error:
mp_exc_recursion_depth();
}
+ #else
+ // If we couldn't allocate codestate on heap, in
+ // non non-strict case fall thru to stack allocation.
#endif
}
#endif
@@ -974,6 +977,9 @@ unwind_jump:;
else {
goto deep_recursion_error;
}
+ #else
+ // If we couldn't allocate codestate on heap, in
+ // non non-strict case fall thru to stack allocation.
#endif
}
#endif
@@ -1008,6 +1014,9 @@ unwind_jump:;
else {
goto deep_recursion_error;
}
+ #else
+ // If we couldn't allocate codestate on heap, in
+ // non non-strict case fall thru to stack allocation.
#endif
}
#endif
@@ -1045,6 +1054,9 @@ unwind_jump:;
else {
goto deep_recursion_error;
}
+ #else
+ // If we couldn't allocate codestate on heap, in
+ // non non-strict case fall thru to stack allocation.
#endif
}
#endif