about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2014-08-19 12:16:47 -0700
committerKartik K. Agaram <vc@akkartik.com>2014-08-19 12:16:47 -0700
commit6b133a720e379c5a891faf5e969361be85bdfcd5 (patch)
treee9ffd2fb9625bd6f35861645e7912394e7f6ae45
parent624b9e86a110b492d2cb2c8bcf8cb3a60200c056 (diff)
downloadmu-6b133a720e379c5a891faf5e969361be85bdfcd5.tar.gz
55
-rw-r--r--new.arc5
-rw-r--r--new.arc.t5
2 files changed, 5 insertions, 5 deletions
diff --git a/new.arc b/new.arc
index 54b1ac2f..88a41263 100644
--- a/new.arc
+++ b/new.arc
@@ -12,8 +12,3 @@
   ((3 integer) <- literal 1)
   ((Root_allocator_pointer integer) <- add (Root_allocator_pointer integer) (3 integer))
   (reply (2 integer-address)))
-; tests to express:
-; every call increments the pointer
-; no other function can increment the pointer
-; no later clause can increment the pointer after this base clause
-; multiple threads/routines can't call the allocator at once
diff --git a/new.arc.t b/new.arc.t
index c10444de..5266ea2d 100644
--- a/new.arc.t
+++ b/new.arc.t
@@ -19,3 +19,8 @@
   (prn "F - 'new' increments allocator pointer"))
 (if (~iso memory*.Allocator_start 34)
   (prn "F - 'new' returns old location"))
+
+; other tests to express:
+;  no other function can increment the pointer
+;  no later clause can increment the pointer after this base clause
+;  multiple threads/routines can't call the allocator at once