@@ -1042,7 +1042,7 @@ static sljit_s32 emit_op_imm(struct sljit_compiler *compiler, sljit_s32 flags, s
10421042 return push_inst32 (compiler , ASR_WI | (flags & SET_FLAGS ) | RD4 (dst ) | RM4 (reg ) | IMM5 (imm ));
10431043 case SLJIT_ROTL :
10441044 imm = (imm ^ 0x1f ) + 1 ;
1045- /* fallthrough */
1045+ SLJIT_FALLTHROUGH ; /* fallthrough */
10461046 default : /* SLJIT_ROTR */
10471047 return push_inst32 (compiler , ROR_WI | RD4 (dst ) | RM4 (reg ) | IMM5 (imm ));
10481048 }
@@ -1178,7 +1178,7 @@ static sljit_s32 emit_op_imm(struct sljit_compiler *compiler, sljit_s32 flags, s
11781178 reg = (arg2 == TMP_REG1 ) ? TMP_REG1 : TMP_REG2 ;
11791179 FAIL_IF (push_inst32 (compiler , ANDI | RD4 (reg ) | RN4 (arg2 ) | 0x1f ));
11801180 arg2 = (sljit_uw )reg ;
1181- /* fallthrough */
1181+ SLJIT_FALLTHROUGH ; /* fallthrough */
11821182 case SLJIT_SHL :
11831183 if (dst == (sljit_s32 )arg1 && IS_2_LO_REGS (dst , arg2 ))
11841184 return push_inst16 (compiler , LSLS | RD3 (dst ) | RN3 (arg2 ));
@@ -1187,7 +1187,7 @@ static sljit_s32 emit_op_imm(struct sljit_compiler *compiler, sljit_s32 flags, s
11871187 reg = (arg2 == TMP_REG1 ) ? TMP_REG1 : TMP_REG2 ;
11881188 FAIL_IF (push_inst32 (compiler , ANDI | RD4 (reg ) | RN4 (arg2 ) | 0x1f ));
11891189 arg2 = (sljit_uw )reg ;
1190- /* fallthrough */
1190+ SLJIT_FALLTHROUGH ; /* fallthrough */
11911191 case SLJIT_LSHR :
11921192 if (dst == (sljit_s32 )arg1 && IS_2_LO_REGS (dst , arg2 ))
11931193 return push_inst16 (compiler , LSRS | RD3 (dst ) | RN3 (arg2 ));
@@ -1196,7 +1196,7 @@ static sljit_s32 emit_op_imm(struct sljit_compiler *compiler, sljit_s32 flags, s
11961196 reg = (arg2 == TMP_REG1 ) ? TMP_REG1 : TMP_REG2 ;
11971197 FAIL_IF (push_inst32 (compiler , ANDI | RD4 (reg ) | RN4 (arg2 ) | 0x1f ));
11981198 arg2 = (sljit_uw )reg ;
1199- /* fallthrough */
1199+ SLJIT_FALLTHROUGH ; /* fallthrough */
12001200 case SLJIT_ASHR :
12011201 if (dst == (sljit_s32 )arg1 && IS_2_LO_REGS (dst , arg2 ))
12021202 return push_inst16 (compiler , ASRS | RD3 (dst ) | RN3 (arg2 ));
@@ -1205,7 +1205,7 @@ static sljit_s32 emit_op_imm(struct sljit_compiler *compiler, sljit_s32 flags, s
12051205 reg = (arg2 == TMP_REG1 ) ? TMP_REG1 : TMP_REG2 ;
12061206 FAIL_IF (push_inst32 (compiler , RSB_WI | RD4 (reg ) | RN4 (arg2 ) | 0 ));
12071207 arg2 = (sljit_uw )reg ;
1208- /* fallthrough */
1208+ SLJIT_FALLTHROUGH ; /* fallthrough */
12091209 case SLJIT_ROTR :
12101210 if (dst == (sljit_s32 )arg1 && IS_2_LO_REGS (dst , arg2 ))
12111211 return push_inst16 (compiler , RORS | RD3 (dst ) | RN3 (arg2 ));
@@ -2653,15 +2653,15 @@ static sljit_uw get_cc(struct sljit_compiler *compiler, sljit_s32 type)
26532653 case SLJIT_CARRY :
26542654 if (compiler -> status_flags_state & SLJIT_CURRENT_FLAGS_ADD )
26552655 return 0x2 ;
2656- /* fallthrough */
2656+ SLJIT_FALLTHROUGH ; /* fallthrough */
26572657
26582658 case SLJIT_LESS :
26592659 return 0x3 ;
26602660
26612661 case SLJIT_NOT_CARRY :
26622662 if (compiler -> status_flags_state & SLJIT_CURRENT_FLAGS_ADD )
26632663 return 0x3 ;
2664- /* fallthrough */
2664+ SLJIT_FALLTHROUGH ; /* fallthrough */
26652665
26662666 case SLJIT_GREATER_EQUAL :
26672667 return 0x2 ;
@@ -2696,15 +2696,15 @@ static sljit_uw get_cc(struct sljit_compiler *compiler, sljit_s32 type)
26962696 case SLJIT_OVERFLOW :
26972697 if (!(compiler -> status_flags_state & (SLJIT_CURRENT_FLAGS_ADD | SLJIT_CURRENT_FLAGS_SUB )))
26982698 return 0x1 ;
2699- /* fallthrough */
2699+ SLJIT_FALLTHROUGH ; /* fallthrough */
27002700
27012701 case SLJIT_UNORDERED :
27022702 return 0x6 ;
27032703
27042704 case SLJIT_NOT_OVERFLOW :
27052705 if (!(compiler -> status_flags_state & (SLJIT_CURRENT_FLAGS_ADD | SLJIT_CURRENT_FLAGS_SUB )))
27062706 return 0x0 ;
2707- /* fallthrough */
2707+ SLJIT_FALLTHROUGH ; /* fallthrough */
27082708
27092709 case SLJIT_ORDERED :
27102710 return 0x7 ;
0 commit comments