Skip to content

Commit 206a2f0

Browse files
committed
fixup! effects: taint nonoverlayed when bailing out inference (#48838)
1 parent 870c223 commit 206a2f0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/compiler/AbstractInterpreter.jl

+4-2
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,12 @@ macro newinterp(name)
1919
struct $name <: CC.AbstractInterpreter
2020
interp::CC.NativeInterpreter
2121
cache::$cachename
22+
meta # additional information
2223
$name(world = Base.get_world_counter();
2324
interp = CC.NativeInterpreter(world),
24-
cache = $cachename(IdDict{MethodInstance,CodeInstance}())
25-
) = new(interp, cache)
25+
cache = $cachename(IdDict{MethodInstance,CodeInstance}(),
26+
meta = nothing
27+
) = new(interp, cache, meta)
2628
end
2729
CC.InferenceParams(interp::$name) = CC.InferenceParams(interp.interp)
2830
CC.OptimizationParams(interp::$name) = CC.OptimizationParams(interp.interp)

0 commit comments

Comments
 (0)