File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 15
15
check_edges(node)
16
16
17
17
Recursively ensure that all callees of `node` are precompiled. This is (rarely) necessary
18
- because sometimes there is no backedge from callee to caller (xref https://github.com/JuliaLang/julia/issues/49617),
18
+ because sometimes there is no backedge from callee to caller (xref [JuliaLang/julia#49617]( https://github.com/JuliaLang/julia/issues/49617) ),
19
19
and `staticdata.c` relies on the backedge to trace back to a MethodInstance that is tagged `mi.precompiled`.
20
20
"""
21
21
function check_edges (node)
40
40
"""
41
41
@compile_workload f(args...)
42
42
43
- `precompile` (and save in the compile_workload file) any method-calls that occur inside the expression. All calls (direct or indirect) inside a
43
+ `precompile` (and save in the ` compile_workload` file) any method-calls that occur inside the expression. All calls (direct or indirect) inside a
44
44
`@compile_workload` block will be cached.
45
45
46
46
`@compile_workload` has three key features:
47
47
48
48
1. code inside runs only when the package is being precompiled (i.e., a `*.ji`
49
- precompile compile_workload file is being written)
49
+ precompile ` compile_workload` file is being written)
50
50
2. the interpreter is disabled, ensuring your calls will be compiled
51
51
3. both direct and indirect callees will be precompiled, even for methods defined in other packages
52
52
and even for runtime-dispatched callees (requires Julia 1.8 and above).
You can’t perform that action at this time.
0 commit comments