about summary refs log tree commit diff stats
path: root/030container.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-11-08 10:20:49 -0800
committerKartik K. Agaram <vc@akkartik.com>2016-11-08 10:20:49 -0800
commitf4647409b5fa658e463424c0a8249a4d72405d59 (patch)
treeff024555e70a2cb8649dbf7f494129d670997676 /030container.cc
parent2789e86118e1f4da63e5b8883ffdb4ef31c98887 (diff)
downloadmu-f4647409b5fa658e463424c0a8249a4d72405d59.tar.gz
3652
size_of(type_tree*) is a mess; clean it up with an eye to the final
tangled version.
Diffstat (limited to '030container.cc')
-rw-r--r--030container.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/030container.cc b/030container.cc
index 626587f8..53efc857 100644
--- a/030container.cc
+++ b/030container.cc
@@ -148,10 +148,6 @@ void clear_container_metadata() {
 if (r.metadata.size) return r.metadata.size;
 
 :(before "End size_of(type) Special-cases")
-if (type->atom) {
-  if (type->value == -1) return 1;  // error value, but we'll raise it elsewhere
-  if (type->value == 0) return 1;
-}
 const type_tree* root = root_type(type);
 if (!contains_key(Type, root->value)) {
   raise << "no such type " << root->value << '\n' << end();