MCPcopy Create free account
hub / github.com/AliveToolkit/alive2 / fixupTypes

Method fixupTypes

tools/transform.cpp:1541–1548  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1539}
1540
1541void TransformVerify::fixupTypes(const TypingAssignments &ty) {
1542 if (ty.has_only_one_solution)
1543 return;
1544 if (t.precondition)
1545 t.precondition->fixupTypes(ty.r.getModel());
1546 t.src.fixupTypes(ty.r.getModel());
1547 t.tgt.fixupTypes(ty.r.getModel());
1548}
1549
1550static map<string_view, Instr*> can_remove_init(Function &fn) {
1551 map<string_view, Instr*> to_remove;

Callers 1

mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected