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

Adding variables and dynamic profiling #5

Merged
merged 26 commits into from
Nov 26, 2024
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix jump forward not connecting in BB
therkels committed Nov 22, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 9d72e84c8234253ba3303e2c5ec39582b3af495b
3 changes: 1 addition & 2 deletions jac/jaclang/runtimelib/cfg.py
Original file line number Diff line number Diff line change
@@ -35,8 +35,7 @@ def is_branch(self) -> bool:
}
def is_relative_branch(self) -> bool:
return self.op in {
"FOR_ITER",
"JUMP_FORWARD",
"FOR_ITER"
}
def is_return(self) -> bool:
return self.op == "RETURN_VALUE"