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

Method link

chapter19/src/main/java/com/seaofnodes/simple/CodeGen.java:91–94  ·  view source on GitHub ↗
( TypeFunPtr tfp )

Source from the content-addressed store, hash-verified

89 public TypeFunPtr _main = makeFun(TypeTuple.MAIN,Type.BOTTOM);
90 // Reverse from a constant function pointer to the IR function being called
91 public FunNode link( TypeFunPtr tfp ) {
92 assert tfp.isConstant();
93 return _linker.get(tfp.makeFrom(Type.BOTTOM));
94 }
95
96 // Insert linker mapping from constant function signature to the function
97 // being called.

Callers 4

callMethod · 0.45
parseMethod · 0.45
parseFunctionBodyMethod · 0.45
parseDeclarationMethod · 0.45

Calls 5

isConstantMethod · 0.45
getMethod · 0.45
makeFromMethod · 0.45
putMethod · 0.45
sigMethod · 0.45

Tested by 1

callMethod · 0.36