MCPcopy Create free account
hub / github.com/SeaOfNodes/Simple / join

Method join

chapter09/src/main/java/com/seaofnodes/simple/type/Type.java:121–124  ·  view source on GitHub ↗
(Type t)

Source from the content-addressed store, hash-verified

119 // Our lattice is defined with a MEET and a DUAL.
120 // JOIN is dual of meet of both duals.
121 public final Type join(Type t) {
122 if( this==t ) return this;
123 return dual().meet(t.dual()).dual();
124 }
125
126 public Type dual() {
127 return switch( _type ) {

Callers 1

peepholeOptMethod · 0.45

Calls 2

dualMethod · 0.95
meetMethod · 0.45

Tested by

no test coverage detected