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

Method join

chapter24/src/main/java/com/seaofnodes/simple/type/Type.java:313–316  ·  view source on GitHub ↗
(Type t)

Source from the content-addressed store, hash-verified

311 // Our lattice is defined with a MEET and a DUAL.
312 // JOIN is dual of meet of both duals.
313 public final Type join(Type t) {
314 if( this==t ) return this;
315 return dual().meet(t.dual()).dual();
316 }
317
318 // True if this "isa" t; e.g. 17 isa TypeInteger.BOT
319 // Applies for pessimistic case

Callers 15

testTypeAdHocMethod · 0.95
computeMethod · 0.95
computeMethod · 0.95
computeMethod · 0.95
computeMethod · 0.95
computeMethod · 0.95
testLatticeTheoryMethod · 0.45
parsePostfixNameMethod · 0.45
peepholeOptMethod · 0.45
_addGuardMethod · 0.45
idealizeMethod · 0.45
graphviz.umd.jsFile · 0.45

Calls 2

dualMethod · 0.95
meetMethod · 0.45

Tested by 2

testTypeAdHocMethod · 0.76
testLatticeTheoryMethod · 0.36