ARM: Fix GCC 7 -Wimplicit-fallthrough warnings.

This commit is contained in:
Mike Pall
2019-04-29 18:02:50 +02:00
parent 5802ab56b6
commit 9bd5a722be
2 changed files with 3 additions and 3 deletions

View File

@@ -1719,8 +1719,8 @@ static void asm_setup_regsp(ASMState *as)
#if LJ_SOFTFP
case IR_MIN: case IR_MAX:
if ((ir+1)->o != IR_HIOP) break;
/* fallthrough */
#endif
/* fallthrough */
/* C calls evict all scratch regs and return results in RID_RET. */
case IR_SNEW: case IR_XSNEW: case IR_NEWREF:
if (REGARG_NUMGPR < 3 && as->evenspill < 3)