Skip to content

Commit

Permalink
update EA
Browse files Browse the repository at this point in the history
  • Loading branch information
aviatesk committed Jan 20, 2022
1 parent 85075ad commit 0a36203
Show file tree
Hide file tree
Showing 7 changed files with 379 additions and 310 deletions.
2 changes: 1 addition & 1 deletion base/compiler/ssair/EscapeAnalysis/EAUtils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ function get_name_color(x::EscapeLattice, symbol::Bool = false)
name, color = (getname(EA.NoEscape), ""), :green
elseif EA.has_all_escape(x)
name, color = (getname(EA.AllEscape), "X"), :red
elseif EA.NoEscape() (EA.ignore_thrownescapes EA.ignore_aliasescapes)(x) EA.AllReturnEscape()
elseif EA.NoEscape() (EA.ignore_thrownescapes EA.ignore_aliasinfo)(x) EA.AllReturnEscape()
name = (getname(EA.ReturnEscape), "")
color = EA.has_thrown_escape(x) ? :yellow : :cyan
else
Expand Down
Loading

0 comments on commit 0a36203

Please sign in to comment.