diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-05-03 14:26:25 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-05-03 14:26:25 -0700 |
commit | 5331af09d0967d7679ecf37e61ec9347460e0f03 (patch) | |
tree | 6c38ca96e40f15e96eb48fd8850f1606fa97e612 /036abandon.cc | |
parent | b96c0763f8da7c4427b7501e37ed0f85aafaf295 (diff) | |
download | mu-5331af09d0967d7679ecf37e61ec9347460e0f03.tar.gz |
2896
Diffstat (limited to '036abandon.cc')
-rw-r--r-- | 036abandon.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/036abandon.cc b/036abandon.cc index 22d93ec9..f454123e 100644 --- a/036abandon.cc +++ b/036abandon.cc @@ -95,7 +95,7 @@ def main [ # reuse +mem: storing 1 in location 4 -:(scenario refcounts_2) +:(scenario refcounts_overwrite) def main [ 1:address:number <- new number:type # over-writing one allocation with another @@ -107,7 +107,7 @@ def main [ +run: {1: ("address" "number")} <- new {number: "type"} +mem: automatically abandoning 1000 -:(scenario refcounts_3) +:(scenario refcounts_call_2) def main [ 1:address:number <- new number:type # passing in addresses to recipes increments refcount |