Skip to content

Commit d5846c9

Browse files
committed
make sure that nullfunc is not ellided
1 parent 2d434ae commit d5846c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/parameters.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ end
7272
# RESOLUTION/OVERHEAD settings #
7373
################################
7474

75-
@noinline nullfunc() = nothing
75+
@noinline nullfunc() = Base.inferencebarrier(nothing)::Nothing
7676

7777
@noinline function overhead_sample(evals)
7878
start_time = time_ns()

0 commit comments

Comments
 (0)