Skip to content

Commit

Permalink
function name is actually a QuoteNode
Browse files Browse the repository at this point in the history
  • Loading branch information
ToucheSir authored Aug 3, 2022
1 parent 4da0441 commit 7d0376a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/reverse.jl
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ function passthrough_expr(ex::Expr)
isexpr(ex, GlobalRef, :call, :isdefined, :inbounds, :meta, :loopinfo) && return true
# ccalls and more that are safe to preserve/required for proper operation:
# - jl_set_task_threadpoolid: added in 1.9 for @spawn
isexpr(ex, :foreigncall) && ex.args[1] in (:jl_set_task_threadpoolid,) && return true
isexpr(ex, :foreigncall) && unwrapquote(ex.args[1]) in (:jl_set_task_threadpoolid,) && return true
return false
end

Expand Down

0 comments on commit 7d0376a

Please sign in to comment.