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

[VAN-800] prevent stack overflow #72

Merged
merged 2 commits into from
Nov 13, 2023
Merged

[VAN-800] prevent stack overflow #72

merged 2 commits into from
Nov 13, 2023

Conversation

tim-hoffman
Copy link

No description provided.

@tim-hoffman tim-hoffman self-assigned this Nov 10, 2023
Copy link

@iangneal iangneal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just one comment.

if self.visited_funcs.borrow_mut().insert(name.clone()) {
// Skip those that cannot be visited (i.e. not yet in Circuit.functions)
if !BUILT_IN_NAMES.with(|f| f.contains(name.as_str())) {
println!("[FINDME] visiting function {}", name);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we make this println debug only?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, thanks. I meant to remove it actually.

@tim-hoffman tim-hoffman merged commit 3ee78c7 into llvm Nov 13, 2023
1 check passed
@tim-hoffman tim-hoffman deleted the th/van-800 branch November 13, 2023 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants