about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--036refcount.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/036refcount.cc b/036refcount.cc
index 213cbf36..3478a6e0 100644
--- a/036refcount.cc
+++ b/036refcount.cc
@@ -393,12 +393,6 @@ void append_addresses(int base_offset, const type_tree* type, map<set<tag_condit
   }
 }
 
-int payload_size(const type_tree* type) {
-  assert(type->name == "address");
-  assert(type->right->name != "array");
-  return size_of(type->right) + /*refcount*/1;
-}
-
 //: for the following unit tests we'll do the work of the transform by hand
 
 :(before "End Unit Tests")