Commit 5f15d53a authored by Simon Marlow's avatar Simon Marlow
Browse files

Add /* fallthrough */ to fix -Wimplicit-fallthrough warning

parent b701e475
...@@ -1722,9 +1722,11 @@ scavenge_static(void) ...@@ -1722,9 +1722,11 @@ scavenge_static(void)
case FUN_STATIC: case FUN_STATIC:
scavenge_fun_srt(info); scavenge_fun_srt(info);
// fallthrough: a FUN_STATIC can also be an SRT, so it may have pointer /* fallthrough */
// fields. See Note [SRTs] in CmmBuildInfoTables, specifically the [FUN]
// optimisation. // a FUN_STATIC can also be an SRT, so it may have pointer
// fields. See Note [SRTs] in CmmBuildInfoTables, specifically
// the [FUN] optimisation.
case CONSTR: case CONSTR:
case CONSTR_NOCAF: case CONSTR_NOCAF:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment