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

Method join

chapter21/src/main/java/com/seaofnodes/simple/type/Type.java:187–190  ·  view source on GitHub ↗
(Type t)

Source from the content-addressed store, hash-verified

185 // Our lattice is defined with a MEET and a DUAL.
186 // JOIN is dual of meet of both duals.
187 public final Type join(Type t) {
188 if( this==t ) return this;
189 return dual().meet(t.dual()).dual();
190 }
191
192 // True if this "isa" t; e.g. 17 isa TypeInteger.BOT
193 public boolean isa( Type t ) { return meet(t)==t; }

Callers 15

testTypeAdHocMethod · 0.95
computeMethod · 0.95
computeMethod · 0.95
testLatticeTheoryMethod · 0.45
computeMethod · 0.45
peepholeOptMethod · 0.45
_addGuardMethod · 0.45
computeMethod · 0.45
idealizeMethod · 0.45
graphviz.umd.jsFile · 0.45
d3.v7.min.jsFile · 0.45
XrFunction · 0.45

Calls 2

dualMethod · 0.95
meetMethod · 0.45

Tested by 2

testTypeAdHocMethod · 0.76
testLatticeTheoryMethod · 0.36