[PATCH] Pass in avail_expr_stack and setup edge_infos earlier