Skip to content

Commit b25d2f4

Browse files
committed
Handle code_coverage_effect
1 parent 04e4dcd commit b25d2f4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/copyable_task.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,8 @@ function derive_copyable_task_ir(ir::BBCode)::Tuple{BBCode,Tuple}
257257
push!(inst_pairs, (ID(), new_inst(set_ref)))
258258
elseif Meta.isexpr(stmt, :boundscheck)
259259
push!(inst_pairs, (id, inst))
260+
elseif Meta.isexpr(stmt, :code_coverage_effect)
261+
push!(inst_pairs, (id, inst))
260262
elseif stmt isa ReturnNode
261263
# If returning an SSA, it might be one whose value was restored from before.
262264
# Therefore, grab it out of storage, rather than assuming that it is def-ed.

0 commit comments

Comments
 (0)