Skip to content

Commit

Permalink
Update base/compiler/tfuncs.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Jameson Nash <vtjnash@gmail.com>
  • Loading branch information
aviatesk and vtjnash committed Jan 8, 2022
1 parent 458d44c commit e814d9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/compiler/tfuncs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -922,7 +922,7 @@ end
function setfield!_nothrow(argtypes::Vector{Any})
if length(argtypes) == 4
order = argtypes[4]
order === Const(:non_atomic) || return false # TODO: this is assuming not atomic
order === Const(:not_atomic) || return false # currently setfield!_nothrow is assuming not atomic
else
length(argtypes) == 3 || return false
end
Expand Down

0 comments on commit e814d9c

Please sign in to comment.