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

Method free

chapter23/src/main/java/com/seaofnodes/simple/type/Field.java:43–51  ·  view source on GitHub ↗
(Type t)

Source from the content-addressed store, hash-verified

41 // Malloc-from
42 public Field malloc( ) { return malloc(_fname,null,_alias,_final,_one); }
43 @Override Field free(Type t) {
44 Field f = (Field)t;
45 assert !f.isFree() && !f._terned;
46 f._t = null;
47 f._dual = null;
48 f._hash = 0;
49 FREE.push(f);
50 return this;
51 }
52 @Override boolean isFree() { return _t ==null; }
53
54 // Make and intern with listed fields

Callers 1

makeMethod · 0.95

Calls 2

isFreeMethod · 0.95
pushMethod · 0.45

Tested by

no test coverage detected