Skip to content

Commit 94249da

Browse files
vtjnashJeffBezanson
authored andcommitted
coverage: fix name of the new code_coverage_effect Expr head (#34392)
1 parent a9f1227 commit 94249da

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

base/compiler/ssair/driver.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function convert_to_ircode(ci::CodeInfo, code::Vector{Any}, coverage::Bool, narg
6161
codeloc = ci.codelocs[idx]
6262
if coverage && codeloc != prevloc && codeloc != 0
6363
# insert a side-effect instruction before the current instruction in the same basic block
64-
insert!(code, idx, Expr(:code_coverage_marker))
64+
insert!(code, idx, Expr(:code_coverage_effect))
6565
insert!(ci.codelocs, idx, codeloc)
6666
insert!(ci.ssavaluetypes, idx, Nothing)
6767
changemap[oldidx] += 1

src/ast.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ void jl_init_frontend(void)
365365
throw_undef_if_not_sym = jl_symbol("throw_undef_if_not");
366366
getfield_undefref_sym = jl_symbol("##getfield##");
367367
do_sym = jl_symbol("do");
368-
coverageeffect_sym = jl_symbol("code_coverage_marker");
368+
coverageeffect_sym = jl_symbol("code_coverage_effect");
369369
aliasscope_sym = jl_symbol("aliasscope");
370370
popaliasscope_sym = jl_symbol("popaliasscope");
371371
}

0 commit comments

Comments
 (0)