Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
aviatesk committed Dec 25, 2021
1 parent 7a81541 commit 41d1e02
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/EscapeAnalysis.jl
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ struct EscapeLattice
ReturnEscape::Bool,
ThrownEscape::Bool,
EscapeSites::BitSet,
FieldEscapes,
FieldEscapes::Union{EscapeSets,Bool},
)
@nospecialize FieldEscapes
return new(
Expand All @@ -124,7 +124,7 @@ struct EscapeLattice
function EscapeLattice(x::EscapeLattice,
# non-concrete fields should be passed as default arguments
# in order to avoid allocating non-concrete `NamedTuple`s
FieldEscapes = x.FieldEscapes;
FieldEscapes::Union{EscapeSets,Bool} = x.FieldEscapes;
Analyzed::Bool = x.Analyzed,
ReturnEscape::Bool = x.ReturnEscape,
ThrownEscape::Bool = x.ThrownEscape,
Expand Down Expand Up @@ -494,7 +494,7 @@ function find_escapes(ir::IRCode, nargs::Int)
end

# if debug_itr_counter > 2
# println("[EA]: excessive iteration count found ", debug_itr_counter, " (", singleton_type(ir.argtypes[1]), ")")
# println("[EA] excessive iteration count found ", debug_itr_counter, " (", singleton_type(ir.argtypes[1]), ")")
# end

return state
Expand Down

0 comments on commit 41d1e02

Please sign in to comment.