diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-06-11 08:43:31 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-06-11 08:43:31 -0700 |
commit | bba04e2e22eaa4c41096c65add9d540adf1e530c (patch) | |
tree | 4f03b30d7ae4638e739308be0b06aba4642aa527 | |
parent | b56064194e6fdd1e6a27d3ca6f39aec1378f84bc (diff) | |
download | mu-bba04e2e22eaa4c41096c65add9d540adf1e530c.tar.gz |
3044
-rw-r--r-- | 036refcount.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/036refcount.cc b/036refcount.cc index aea51b6f..bd5dccfd 100644 --- a/036refcount.cc +++ b/036refcount.cc @@ -313,6 +313,7 @@ void append_addresses(int base_offset, const type_tree* type, vector<address_ele int payload_size(const type_tree* type) { assert(type->name == "address"); + assert(type->right->name != "array"); return size_of(type->right) + /*refcount*/1; } |