Changeset dc12262 in mainline for uspace/app/sbi
- Timestamp:
- 2017-05-04T22:12:27Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e141281
- Parents:
- 93ad8166
- Location:
- uspace/app/sbi/src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/sbi/src/ancr.c
r93ad8166 rdc12262 216 216 case csi_struct: 217 217 assert(b_false); /* XXX */ 218 /* Fallthrough */ 218 219 case csi_interface: 219 220 cspan_print(csi->name->cspan); -
uspace/app/sbi/src/run.c
r93ad8166 rdc12262 207 207 /* Break bailout was not caught. */ 208 208 assert(b_false); 209 /* Fallthrough */ 209 210 case bm_proc: 210 211 run->thread_ar->bo_mode = bm_none; … … 1877 1878 */ 1878 1879 assert(b_false); 1880 /* Fallthrough */ 1879 1881 case tic_tenum: 1880 1882 run_var_new_enum(run, ti->u.tenum, rvar); … … 1935 1937 case tpc_nil: 1936 1938 assert(b_false); 1939 /* Fallthrough */ 1937 1940 case tpc_string: 1938 1941 var = rdata_var_new(vc_string); -
uspace/app/sbi/src/run_expr.c
r93ad8166 rdc12262 285 285 /* It is not possible to reference a constructor explicitly. */ 286 286 assert(b_false); 287 /* Fallthrough */ 287 288 case sc_enum: 288 289 #ifdef DEBUG_RUN_TRACE … … 765 766 case bo_mult: 766 767 assert(b_false); 768 /* Fallthrough */ 767 769 768 770 case bo_equal: … … 840 842 case bo_mult: 841 843 assert(b_false); 844 /* Fallthrough */ 842 845 843 846 case bo_equal: … … 944 947 case bo_mult: 945 948 assert(b_false); 949 /* Fallthrough */ 946 950 947 951 case bo_equal: … … 1229 1233 case uo_minus: 1230 1234 assert(b_false); 1235 /* Fallthrough */ 1231 1236 1232 1237 case uo_not: … … 1761 1766 /* It is not possible to reference a constructor explicitly. */ 1762 1767 assert(b_false); 1768 /* Fallthrough */ 1763 1769 case sc_deleg: 1764 1770 printf("Error: Accessing object member which is a delegate.\n"); … … 1874 1880 /* It is not possible to reference a constructor explicitly. */ 1875 1881 assert(b_false); 1882 /* Fallthrough */ 1876 1883 case sc_deleg: 1877 1884 printf("Error: Accessing object member which is a delegate.\n"); -
uspace/app/sbi/src/run_texpr.c
r93ad8166 rdc12262 154 154 /* It is not possible to reference a constructor explicitly. */ 155 155 assert(b_false); 156 /* Fallthrough */ 156 157 case sc_deleg: 157 158 /* Fetch stored delegate type. */ … … 362 363 /* It is not possible to reference a constructor explicitly. */ 363 364 assert(b_false); 365 /* Fallthrough */ 364 366 case sc_deleg: 365 367 /* Fetch stored delegate type. */ -
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 /* -
uspace/app/sbi/src/stype_expr.c
r93ad8166 rdc12262 308 308 /* It is not possible to reference a constructor explicitly. */ 309 309 assert(b_false); 310 /* Fallthrough */ 310 311 case sc_deleg: 311 312 deleg = symbol_to_deleg(sym); … … 1238 1239 /* It is not possible to reference a constructor explicitly. */ 1239 1240 assert(b_false); 1241 /* Fallthrough */ 1240 1242 case sc_deleg: 1241 1243 cspan_print(access->member_name->cspan); … … 1809 1811 assert(ptitem->tic == tic_tprimitive); 1810 1812 switch (ptitem->u.tprimitive->tpc) { 1811 case tpc_bool: csi_sym = bi->boxed_bool; break; 1812 case tpc_char: csi_sym = bi->boxed_char; break; 1813 case tpc_int: csi_sym = bi->boxed_int; break; 1814 case tpc_nil: assert(b_false); 1815 case tpc_string: csi_sym = bi->boxed_string; break; 1816 case tpc_resource: assert(b_false); 1813 case tpc_bool: 1814 csi_sym = bi->boxed_bool; 1815 break; 1816 case tpc_char: 1817 csi_sym = bi->boxed_char; 1818 break; 1819 case tpc_int: 1820 csi_sym = bi->boxed_int; 1821 break; 1822 case tpc_nil: 1823 assert(b_false); 1824 /* Fallthrough */ 1825 case tpc_string: 1826 csi_sym = bi->boxed_string; 1827 break; 1828 case tpc_resource: 1829 assert(b_false); 1817 1830 } 1818 1831
Note:
See TracChangeset
for help on using the changeset viewer.