Closed
Description
There's a fixme that landed in the dataflow-atop-cfg work:
75340f4#diff-158b34791d327b238be103c2d1867e71R195
In summary: right now there is a bit of a hack in the dataflow code to introduce definitions for all of the patterns bound by the fn_decl
for the fn item being analyzed.
It might be much cleaner to just fold all those formals into the graph structure itself, by extending the cfg code so that, in addition to accepting a block as it does today, it also accepts a whole fn item, and then does the right thing for the bindings introduced by the fn_decl
.