diff options
-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; } |