Skip to content

Commit

Permalink
fix EscapeAnalysis.jl documentation (#44257)
Browse files Browse the repository at this point in the history
  • Loading branch information
aviatesk committed Feb 20, 2022
1 parent a70cfd1 commit 18ea404
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions doc/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ else
analytics = "UA-28835595-6",
collapselevel = 1,
sidebar_sitename = false,
ansicolor = true,
)
end

Expand Down
5 changes: 3 additions & 2 deletions doc/src/devdocs/EscapeAnalysis.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# `EscapeAnalysis`

`Core.Compiler.EscapeAnalysis` is a compiler utility module that aims to analyze
escape information of [Julia's SSA-form IR](@ref Julia-SSA-form-IR) a.k.a. `IRCode`.

Expand All @@ -18,8 +20,7 @@ This escape analysis aims to:
You can give a try to the escape analysis by loading the `EAUtils.jl` utility script that
define the convenience entries `code_escapes` and `@code_escapes` for testing and debugging purposes:
```@repl EAUtils
include(normpath(Sys.BINDIR::String, "..", "share", "julia", "test", "testhelpers", "EAUtils.jl"))
using EAUtils
include(normpath(Sys.BINDIR, "..", "share", "julia", "test", "compiler", "EscapeAnalysis", "EAUtils.jl")); using .EAUtils
mutable struct SafeRef{T}
x::T
Expand Down

0 comments on commit 18ea404

Please sign in to comment.