avoid reconstructing references that match entire function body