Skip to content

Commit a9aacf3

Browse files
committed
minor tweaks
1 parent 02e3a2b commit a9aacf3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/analyzers/jetanalyzer.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ given that the number of matching methods are limited beforehand.
251251
"""
252252
CC.bail_out_call(::JETAnalyzer, ::CC.InferenceLoopState, ::InferenceState) = false
253253

254-
struct __DummyConcrete__ end
254+
struct __DummyRettype__ end
255255

256256
"""
257257
Core.Compiler.add_call_backedges!(analyzer::JETAnalyzer, ...)
@@ -265,8 +265,8 @@ function CC.add_call_backedges!(
265265
edges::Vector{MethodInstance}, matches::Union{MethodMatches,UnionSplitMethodMatches}, @nospecialize(atype),
266266
sv::InferenceState)
267267
return @invoke CC.add_call_backedges!(
268-
# NOTE this `__DummyConcrete__` hack forces `add_call_backedges!(::AbstractInterpreter,...)` to add backedges
269-
analyzer::AbstractInterpreter, __DummyConcrete__::Any, effects::CC.Effects,
268+
# NOTE this `__DummyRettype__()` hack forces `add_call_backedges!(::AbstractInterpreter,...)` to add backedges
269+
analyzer::AbstractInterpreter, __DummyRettype__()::Any, effects::CC.Effects,
270270
edges::Vector{MethodInstance}, matches::Union{MethodMatches,UnionSplitMethodMatches}, atype::Any,
271271
sv::InferenceState)
272272
end

src/toplevel/virtualprocess.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ These configurations will be active for all the top-level entries explained in t
149149
concrete call sites will produce more accurate results than analysis entered from
150150
(maybe not concrete-typed) method signatures.
151151
152-
Also see: [`report_file`](@ref), [`watch_file`](@ref)
152+
Also see: [`report_file`](@ref), [`watch_file`](@ref), [`report_package`](@ref)
153153
---
154154
- `concretization_patterns::Vector{Any} = Any[]` \\
155155
Specifies a customized top-level code concretization strategy.

0 commit comments

Comments
 (0)