about summary refs log tree commit diff stats
path: root/072scheduler.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-09-17 13:00:39 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-09-17 13:00:39 -0700
commita0331a9b0eab63a000dcd022fe605d124c573b8d (patch)
tree5c7403d16fd8c9d31ead65495eae84edf9cfc2e4 /072scheduler.cc
parent760f683f2755038a1b0c16522f5001b889096aa5 (diff)
downloadmu-a0331a9b0eab63a000dcd022fe605d124c573b8d.tar.gz
3390
Diffstat (limited to '072scheduler.cc')
-rw-r--r--072scheduler.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/072scheduler.cc b/072scheduler.cc
index 232fa0e5..c5e6ac95 100644
--- a/072scheduler.cc
+++ b/072scheduler.cc
@@ -281,13 +281,13 @@ if (inst.operation == NEXT_INGREDIENT || inst.operation == NEXT_INGREDIENT_WITHO
 }
 
 :(scenario next_ingredient_never_leaks_refcounts)
-def create-scope n:&:num -> default-space:&:array:location [
+def create-scope n:&:num -> default-space:&:@:location [
   default-space <- new location:type, 2
   load-ingredients
 ]
 def use-scope [
   local-scope
-  0:&:array:location/names:create-scope <- next-ingredient
+  0:&:@:location/names:create-scope <- next-ingredient
   n:&:num/space:1 <- next-ingredient  # should decrement refcount
   *n/space:1 <- copy 34
   n2:num <- add *n/space:1, 1
@@ -297,7 +297,7 @@ def main [
   local-scope
   n:&:num <- copy 12000/unsafe  # pretend allocation with a known address
   *n <- copy 23
-  scope:&:array:location <- create-scope n
+  scope:&:@:location <- create-scope n
   n2:&:num <- copy 13000/unsafe
   n3:num <- use-scope scope, n2
 ]