We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
nonoverlayed
1 parent 870c223 commit 206a2f0Copy full SHA for 206a2f0
test/compiler/AbstractInterpreter.jl
@@ -19,10 +19,12 @@ macro newinterp(name)
19
struct $name <: CC.AbstractInterpreter
20
interp::CC.NativeInterpreter
21
cache::$cachename
22
+ meta # additional information
23
$name(world = Base.get_world_counter();
24
interp = CC.NativeInterpreter(world),
- cache = $cachename(IdDict{MethodInstance,CodeInstance}())
25
- ) = new(interp, cache)
+ cache = $cachename(IdDict{MethodInstance,CodeInstance}(),
26
+ meta = nothing
27
+ ) = new(interp, cache, meta)
28
end
29
CC.InferenceParams(interp::$name) = CC.InferenceParams(interp.interp)
30
CC.OptimizationParams(interp::$name) = CC.OptimizationParams(interp.interp)
0 commit comments