about summary refs log tree commit diff stats
path: root/020run.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-11-08 12:39:34 -0800
committerKartik K. Agaram <vc@akkartik.com>2016-11-08 12:39:34 -0800
commitb771d375d3e11dcf3e6e55175f2ae128448177a7 (patch)
tree7c3cf2d8c8d5b9267c9af9b74811c788d0e67964 /020run.cc
parentb55b15a920a3f367688579d946a83deb13855df8 (diff)
downloadmu-b771d375d3e11dcf3e6e55175f2ae128448177a7.tar.gz
3655
Diffstat (limited to '020run.cc')
-rw-r--r--020run.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/020run.cc b/020run.cc
index b154b37d..a6b6e4e0 100644
--- a/020run.cc
+++ b/020run.cc
@@ -339,7 +339,7 @@ int size_of(const type_tree* type) {
       raise << "invalid type " << to_string(type) << '\n' << end();
       return 0;
     }
-    if (type->left->name == "address") return 1;
+    if (type->left->value == get(Type_ordinal, "address")) return 1;
     // End size_of(type) Non-atom Special-cases
   }
   // End size_of(type) Special-cases