From 53de40aa88c91150f513852e49b314f130663b64 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sun, 5 Nov 2017 01:49:24 -0800 Subject: 4108 --- 076continuation.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/076continuation.cc b/076continuation.cc index d190f9e3..1134d1d3 100644 --- a/076continuation.cc +++ b/076continuation.cc @@ -237,7 +237,7 @@ def f [ def g [ local-scope return-continuation-until-mark - a:num <- copy 35 + add 1, 1 ] # entering main +mem: new alloc: 1000 @@ -251,6 +251,7 @@ def g [ # no allocs abandoned yet # finish running main +run: call {k: "continuation"} ++run: add {1: "literal"}, {1: "literal"} +run: return {34: "literal"} # now k is reclaimed +mem: trying to reclaim local k:continuation -- cgit 1.4.1-2-gfad0 'this.form.submit();'> Soul of a tiny new machine. More thorough tests → More comprehensible and rewrite-friendly software → More resilient society.Kartik K. Agaram <vc@akkartik.com>
about summary refs log blame commit diff stats
path: root/subx/apps/crenshaw2-1b.subx
blob: 4f350cf4f84f7c9d9191ac2a2250d95825b7245c (plain) (tree)
1
2
3
4
5
6
7
8