for (long j = 0; j < numAttrs; j++) {
SixModelObject attrHash = attrs.at_pos_boxed(tc, j);
AttrInfo info = new AttrInfo();
info.name = attrHash.at_key_boxed(tc, "name").get_str(tc);
info.type = attrHash.at_key_boxed(tc, "type");
StorageSpec spec = info.type.st.REPR.get_storage_spec(tc, info.type.st);
info.bits = spec.bits;
repr_data.fieldTypes.put(info.name, info);
if (info.type == null) {
ExceptionHandling.dieInternal(tc, "CStruct representation requires the types of all attributes to be specified");