Skip to content

Commit eccc077

Browse files
committed
update EA
1 parent 48f3444 commit eccc077

File tree

7 files changed

+693
-422
lines changed

7 files changed

+693
-422
lines changed

base/compiler/ssair/EscapeAnalysis/EAUtils.jl

+2-2
Original file line numberDiff line numberDiff line change
@@ -296,15 +296,15 @@ function get_name_color(x::EscapeLattice, symbol::Bool = false)
296296
name, color = (getname(EA.NoEscape), ""), :green
297297
elseif EA.has_all_escape(x)
298298
name, color = (getname(EA.AllEscape), "X"), :red
299-
elseif EA.NoEscape() (EA.ignore_thrownescapes EA.ignore_aliasescapes)(x) EA.AllReturnEscape()
299+
elseif EA.NoEscape() (EA.ignore_thrownescapes EA.ignore_aliasinfo)(x) EA.AllReturnEscape()
300300
name = (getname(EA.ReturnEscape), "")
301301
color = EA.has_thrown_escape(x) ? :yellow : :cyan
302302
else
303303
name = (nothing, "*")
304304
color = EA.has_thrown_escape(x) ? :yellow : :bold
305305
end
306306
name = symbol ? last(name) : first(name)
307-
if name !== nothing && !isa(x.AliasEscapes, Bool)
307+
if name !== nothing && !isa(x.AliasInfo, Bool)
308308
name = string(name, "")
309309
end
310310
return name, color

0 commit comments

Comments
 (0)