about summary refs log tree commit diff stats
path: root/078hash.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-05-12 16:38:59 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-05-12 16:38:59 -0700
commit8dede22ec64fbbe59ded852592d65efb630151fe (patch)
tree4ae0272dd59b4733a91b3cd3df085ecda58da005 /078hash.cc
parentac8acc7b05774ac5777d5a03311728fb14d3f217 (diff)
downloadmu-8dede22ec64fbbe59ded852592d65efb630151fe.tar.gz
2955 - back to more refcount housekeeping
Update refcounts of address elements when copying containers.
Still lots to do; see todo list at end of 036refcount.cc.
Diffstat (limited to '078hash.cc')
-rw-r--r--078hash.cc12
1 files changed, 0 insertions, 12 deletions
diff --git a/078hash.cc b/078hash.cc
index 6577373d..ce63a87d 100644
--- a/078hash.cc
+++ b/078hash.cc
@@ -88,12 +88,6 @@ size_t hash_mu_array(size_t h, const reagent& r) {
   return h;
 }
 
-bool is_mu_container(const reagent& r) {
-  if (r.type->value == 0) return false;
-  type_info& info = get(Type, r.type->value);
-  return info.kind == CONTAINER;
-}
-
 size_t hash_mu_container(size_t h, const reagent& r) {
   assert(r.type->value);
   type_info& info = get(Type, r.type->value);
@@ -110,12 +104,6 @@ size_t hash_mu_container(size_t h, const reagent& r) {
   return h;
 }
 
-bool is_mu_exclusive_container(const reagent& r) {
-  if (r.type->value == 0) return false;
-  type_info& info = get(Type, r.type->value);
-  return info.kind == EXCLUSIVE_CONTAINER;
-}
-
 size_t hash_mu_exclusive_container(size_t h, const reagent& r) {
   assert(r.type->value);
   int tag = get(Memory, r.value);