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

Method join

chapter19/src/main/java/com/seaofnodes/simple/type/Type.java:186–189  ·  view source on GitHub ↗
(Type t)

Source from the content-addressed store, hash-verified

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