Skip to content

Commit 451b070

Browse files
authored
Merge pull request #164 from JuliaCI/vc/compiler_barrier
make sure that nullfunc is not ellided
2 parents 2d434ae + d5846c9 commit 451b070

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)