tracking of original size of records (pre redef'ing)

This commit is contained in:
Vern Paxson 2021-04-01 17:38:31 -07:00
parent 6e8baafeb9
commit 45004872e8
2 changed files with 8 additions and 0 deletions

View file

@ -850,6 +850,8 @@ RecordType::RecordType(type_decl_list* arg_types) : Type(TYPE_RECORD)
}
else
num_fields = 0;
num_orig_fields = num_fields;
}
// in this case the clone is actually not so shallow, since