about summary refs log tree commit diff stats
path: root/031address.cc
diff options
context:
space:
mode:
Diffstat (limited to '031address.cc')
-rw-r--r--031address.cc26
1 files changed, 13 insertions, 13 deletions
diff --git a/031address.cc b/031address.cc
index 71f29522..657b7459 100644
--- a/031address.cc
+++ b/031address.cc
@@ -3,8 +3,8 @@
 
 :(scenario copy_indirect)
 recipe main [
-  1:address:number <- copy 2:literal
-  2:number <- copy 34:literal
+  1:address:number <- copy 2
+  2:number <- copy 34
   # This loads location 1 as an address and looks up *that* location.
   3:number <- copy 1:address:number/deref
 ]
@@ -17,8 +17,8 @@ x = canonize(x);
 //: 'deref' property
 :(scenario store_indirect)
 recipe main [
-  1:address:number <- copy 2:literal
-  1:address:number/deref <- copy 34:literal
+  1:address:number <- copy 2
+  1:address:number/deref <- copy 34
 ]
 +mem: storing 34 in location 2
 
@@ -72,18 +72,18 @@ reagent deref(reagent x) {
 //:: 'get' can read from container address
 :(scenario get_indirect)
 recipe main [
-  1:number <- copy 2:literal
-  2:number <- copy 34:literal
-  3:number <- copy 35:literal
+  1:number <- copy 2
+  2:number <- copy 34
+  3:number <- copy 35
   4:number <- get 1:address:point/deref, 0:offset
 ]
 +mem: storing 34 in location 4
 
 :(scenario include_nonderef_properties)
 recipe main [
-  1:number <- copy 2:literal
-  2:number <- copy 34:literal
-  3:number <- copy 35:literal
+  1:number <- copy 2
+  2:number <- copy 34
+  3:number <- copy 35
   4:number <- get 1:address:point/deref/foo, 0:offset
 ]
 +mem: storing 34 in location 4
@@ -94,9 +94,9 @@ base = canonize(base);
 :(scenario get_address_indirect)
 # 'get' can read from container address
 recipe main [
-  1:number <- copy 2:literal
-  2:number <- copy 34:literal
-  3:number <- copy 35:literal
+  1:number <- copy 2
+  2:number <- copy 34
+  3:number <- copy 35
   4:number <- get-address 1:address:point/deref, 0:offset
 ]
 +mem: storing 2 in location 4