File tree 2 files changed +3
-3
lines changed
base/compiler/ssair/EscapeAnalysis
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ import InteractiveUtils: gen_call_with_extracted_types_and_kwargs
25
25
Evaluates the arguments to the function call, determines its types, and then calls
26
26
[`code_escapes`](@ref) on the resulting expression.
27
27
As with `@code_typed` and its family, any of `code_escapes` keyword arguments can be given
28
- as the optional arguments like `@code_escpase interp=myinterp myfunc(myargs...)`.
28
+ as the optional arguments like `@code_escapes interp=myinterp myfunc(myargs...)`.
29
29
"""
30
30
macro code_escapes (ex0... )
31
31
return gen_call_with_extracted_types_and_kwargs (__module__, :code_escapes , ex0)
@@ -36,7 +36,7 @@ end # @static if EA_AS_PKG
36
36
code_escapes(f, argtypes=Tuple{}; [world], [interp]) -> result::EscapeResult
37
37
code_escapes(tt::Type{<:Tuple}; [world], [interp]) -> result::EscapeResult
38
38
39
- Runs the escape analysis on optimized IR of a genefic function call with the given type signature.
39
+ Runs the escape analysis on optimized IR of a generic function call with the given type signature.
40
40
Note that the escape analysis runs after inlining, but before any other optimizations.
41
41
42
42
```julia
Original file line number Diff line number Diff line change 42
42
43
43
# XXX better to be IdSet{Int}?
44
44
const FieldEscape = BitSet
45
- const FieldEscapes = Vector{BitSet }
45
+ const FieldEscapes = Vector{FieldEscape }
46
46
const ArrayEscapes = IdSet{Int}
47
47
48
48
"""
You can’t perform that action at this time.
0 commit comments