| 60 | // Handle cases where 'this.is_simple()' and unequal to 't'. |
| 61 | // Subclassed xmeet calls can assert that '!t.is_simple()'. |
| 62 | protected Type xmeet(Type t) { |
| 63 | assert is_simple(); // Should be overridden in subclass |
| 64 | // ANY meet anything is thing; thing meet ALL is ALL |
| 65 | if( _type==TBOT || t._type==TTOP ) return this; |
| 66 | if( _type==TTOP || t._type==TBOT ) return t; |
| 67 | // 'this' is {TCTRL,TXCTRL} |
| 68 | if( !t.is_simple() ) return BOTTOM; |
| 69 | // 't' is {TCTRL,TXCTRL} |
| 70 | return _type==TCTRL || t._type==TCTRL ? CONTROL : XCONTROL; |
| 71 | } |
| 72 | |
| 73 | @Override |
| 74 | public final String toString() { |