diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-04-24 11:54:30 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-04-24 11:54:30 -0700 |
commit | b0bf5321de2ba32f3b92c2faf6b7b68a06b6b432 (patch) | |
tree | 9e0473bddd0d9a2d4aec7ac58dec8d85c2833a5d /042name.cc | |
parent | 15936c91a9f8023dc868a021029f84b45aa50176 (diff) | |
download | mu-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.cc | 3 |
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; |