about summary refs log tree commit diff stats
path: root/042name.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-04-24 11:54:30 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-04-24 11:54:30 -0700
commitb0bf5321de2ba32f3b92c2faf6b7b68a06b6b432 (patch)
tree9e0473bddd0d9a2d4aec7ac58dec8d85c2833a5d /042name.cc
parent15936c91a9f8023dc868a021029f84b45aa50176 (diff)
downloadmu-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 '042name.cc')
-rw-r--r--042name.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/042name.cc b/042name.cc
index a65731e6..a53144ea 100644
--- a/042name.cc
+++ b/042name.cc
@@ -112,9 +112,8 @@ int lookup_name(const reagent& r, const recipe_ordinal default_recipe) {
 
 type_ordinal skip_addresses(type_tree* type) {
   type_ordinal address = get(Type_ordinal, "address");
-  type_ordinal shared = get(Type_ordinal, "shared");
   for (; type; type = type->right) {
-    if (type->value != address && type->value != shared)
+    if (type->value != address)
       return type->value;
   }
   return -1;