Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Procedure cloning at the strongly connected component level #23

Open
zyzek opened this issue Dec 11, 2017 · 0 comments
Open

Procedure cloning at the strongly connected component level #23

zyzek opened this issue Dec 11, 2017 · 0 comments

Comments

@zyzek
Copy link
Contributor

zyzek commented Dec 11, 2017

At present, procedures are cloned at the block level. But the current algorithm induces an infinite loop when the cfg is cyclic.

A solution: keep track of SCCs, and clone them in their entirety. In this way procedures still should get cloned without bloating up their interiors if they contain cycles, and cycles will not produce infinite clones of themselves.

Should be tackled at the same time as #22 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant