about summary refs log tree commit diff stats
path: root/036refcount.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-11-08 06:56:45 -0800
committerKartik K. Agaram <vc@akkartik.com>2016-11-08 06:56:45 -0800
commitd788bde7cc9189565370f5bc0baf98005002c89d (patch)
tree653eea857cf04ae0b92e9d079bf42b23a452546d /036refcount.cc
parent860895edc62456d192c0827e8f76c98c01cfe665 (diff)
downloadmu-d788bde7cc9189565370f5bc0baf98005002c89d.tar.gz
3649
Diffstat (limited to '036refcount.cc')
-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")