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(-) (limited to '076continuation.cc') 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