diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-04-24 11:54:30 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-04-24 11:54:30 -0700 |
commit | b0bf5321de2ba32f3b92c2faf6b7b68a06b6b432 (patch) | |
tree | 9e0473bddd0d9a2d4aec7ac58dec8d85c2833a5d /044space_surround.cc | |
parent | 15936c91a9f8023dc868a021029f84b45aa50176 (diff) | |
download | mu-b0bf5321de2ba32f3b92c2faf6b7b68a06b6b432.tar.gz |
2864 - replace all address:shared with just address
Now that we no longer have non-shared addresses, we can just always track refcounts for all addresses. Phew!
Diffstat (limited to '044space_surround.cc')
-rw-r--r-- | 044space_surround.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/044space_surround.cc b/044space_surround.cc index 2231860e..d9830230 100644 --- a/044space_surround.cc +++ b/044space_surround.cc @@ -7,15 +7,15 @@ :(scenario surrounding_space) # location 1 in space 1 refers to the space surrounding the default space, here 20. def main [ - # pretend shared:array:location; in practice we'll use new + # pretend address:array:location; in practice we'll use new 10:number <- copy 0 # refcount 11:number <- copy 5 # length - # pretend shared:array:location; in practice we'll use new + # pretend address:array:location; in practice we'll use new 20:number <- copy 0 # refcount 21:number <- copy 5 # length # actual start of this recipe - default-space:address:shared:array:location <- copy 10/unsafe - 0:address:shared:array:location/names:dummy <- copy 20/unsafe # later layers will explain the /names: property + default-space:address:array:location <- copy 10/unsafe + 0:address:array:location/names:dummy <- copy 20/unsafe # later layers will explain the /names: property 1:number <- copy 32 1:number/space:1 <- copy 33 ] |