2 A peephole optimizer issue destroyed a jump table.
7 // Based on code by "Under4Mhz" licensed under GPL 2.0 or later
24 blockEscalatorMoveLeft
,
25 blockEscalatorMoveRight
,
32 bool IsFloor( uint8_t tile
) {
38 case blockWoodUnderLeft
:
39 case blockWoodOverLeft
:
40 case blockWoodUnderRight
:
41 case blockWoodOverRight
:
42 case blockEscalatorLeft
:
43 case blockEscalatorMoveLeft
:
44 case blockEscalatorMoveRight
:
45 case blockEscalatorRight
:
56 ASSERT( IsFloor(blockJumpRight
) == true );
57 ASSERT( IsFloor(blockJumpLeft
) == true );