diff options
Diffstat (limited to '036refcount.cc')
-rw-r--r-- | 036refcount.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/036refcount.cc b/036refcount.cc index 765efba7..36aea6c0 100644 --- a/036refcount.cc +++ b/036refcount.cc @@ -402,16 +402,6 @@ void append_addresses(int base_offset, const type_tree* type, map<set<tag_condit } } -int static_array_length(const type_tree* type) { - if (!type->atom && !type->right->atom && type->right->right->atom // exactly 3 types - && is_integer(type->right->right->name)) { // third 'type' is a number - // get size from type - return to_integer(type->right->right->name); - } - cerr << to_string(type) << '\n'; - assert(false); -} - //: for the following unit tests we'll do the work of the transform by hand :(before "End Unit Tests") |