Skip to content

Commit

Permalink
remove duplicated check
Browse files Browse the repository at this point in the history
  • Loading branch information
aviatesk committed Nov 16, 2021
1 parent 61a9fba commit 18044dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EscapeAnalysis.jl
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ function find_escapes(ir::IRCode, nargs::Int)
add_change!(stmt.val, ir, ReturnEscape(pc), changes)
end
else
@assert stmt isa GotoNode || stmt isa GotoIfNot || stmt isa GlobalRef || isnothing(stmt) # TODO remove me
@assert stmt isa GotoNode || stmt isa GotoIfNot || isnothing(stmt) # TODO remove me
continue
end

Expand Down

0 comments on commit 18044dc

Please sign in to comment.