diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-11-08 12:39:34 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-11-08 12:39:34 -0800 |
commit | b771d375d3e11dcf3e6e55175f2ae128448177a7 (patch) | |
tree | 7c3cf2d8c8d5b9267c9af9b74811c788d0e67964 | |
parent | b55b15a920a3f367688579d946a83deb13855df8 (diff) | |
download | mu-b771d375d3e11dcf3e6e55175f2ae128448177a7.tar.gz |
3655
-rw-r--r-- | 020run.cc | 2 |
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 |