()
| 150 | return switch( _type ) { |
| 151 | case TBOT -> TOP; |
| 152 | case TTOP -> BOTTOM; |
| 153 | case TCTRL -> XCONTROL; |
| 154 | case TXCTRL -> CONTROL; |
| 155 | default -> throw Utils.TODO(); // Should not reach here |
| 156 | }; |
| 157 | } |
| 158 | |
| 159 | // ---------------------------------------------------------- |
| 160 | // Our lattice is defined with a MEET and a DUAL. |
| 161 | // JOIN is dual of meet of both duals. |
| 162 | public final Type join(Type t) { |
| 163 | if( this==t ) return this; |