Changeset dc12262 in mainline for uspace/app/sbi/src/stype.c
- Timestamp:
- 2017-05-04T22:12:27Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e141281
- Parents:
- 93ad8166
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/sbi/src/stype.c
r93ad8166 rdc12262 617 617 case csi_struct: 618 618 assert(b_false); 619 /* Fallthrough */ 619 620 case csi_interface: 620 621 /* Store to impl_if_ti for later use. */ … … 742 743 */ 743 744 assert(b_false); 745 /* Fallthrough */ 744 746 case sc_fun: 745 747 stype_class_impl_check_fun(stype, cmbr_sym, if_tvv, ifmbr_sym); … … 751 753 */ 752 754 assert(b_false); 755 /* Fallthrough */ 753 756 case sc_prop: 754 757 stype_class_impl_check_prop(stype, cmbr_sym, if_tvv, ifmbr_sym); … … 1345 1348 /* Conversion destination should never be enum-base */ 1346 1349 assert(b_false); 1350 /* Fallthrough */ 1347 1351 case tic_tenum: 1348 1352 expr = stype_convert_tenum(stype, expr, dest); … … 1350 1354 case tic_tfun: 1351 1355 assert(b_false); 1356 /* Fallthrough */ 1352 1357 case tic_tvref: 1353 1358 expr = stype_convert_tvref(stype, expr, dest); … … 1418 1423 1419 1424 switch (src->u.tprimitive->tpc) { 1420 case tpc_bool: bp_sym = bi->boxed_bool; break; 1421 case tpc_char: bp_sym = bi->boxed_char; break; 1422 case tpc_int: bp_sym = bi->boxed_int; break; 1423 case tpc_nil: assert(b_false); 1424 case tpc_string: bp_sym = bi->boxed_string; break; 1425 case tpc_bool: 1426 bp_sym = bi->boxed_bool; 1427 break; 1428 case tpc_char: 1429 bp_sym = bi->boxed_char; 1430 break; 1431 case tpc_int: 1432 bp_sym = bi->boxed_int; 1433 break; 1434 case tpc_nil: 1435 assert(b_false); 1436 /* Fallthrough */ 1437 case tpc_string: 1438 bp_sym = bi->boxed_string; 1439 break; 1425 1440 case tpc_resource: 1426 1441 stype_convert_failure(stype, convc_implicit, expr, dest); … … 1719 1734 1720 1735 switch (src->u.tprimitive->tpc) { 1721 case tpc_bool: bp_sym = bi->boxed_bool; break; 1722 case tpc_char: bp_sym = bi->boxed_char; break; 1723 case tpc_int: bp_sym = bi->boxed_int; break; 1724 case tpc_nil: assert(b_false); 1725 case tpc_string: bp_sym = bi->boxed_string; break; 1736 case tpc_bool: 1737 bp_sym = bi->boxed_bool; 1738 break; 1739 case tpc_char: 1740 bp_sym = bi->boxed_char; 1741 break; 1742 case tpc_int: 1743 bp_sym = bi->boxed_int; 1744 break; 1745 case tpc_nil: 1746 assert(b_false); 1747 /* Fallthrough */ 1748 case tpc_string: 1749 bp_sym = bi->boxed_string; 1750 break; 1726 1751 case tpc_resource: 1727 1752 cspan_print(expr->cspan); … … 1822 1847 case csi_struct: 1823 1848 assert(b_false); 1849 /* Fallthrough */ 1824 1850 case csi_interface: 1825 1851 /*
Note:
See TracChangeset
for help on using the changeset viewer.