Skip to content

Commit 98bd221

Browse files
aviateskvtjnash
andauthored
Update base/compiler/tfuncs.jl
Co-authored-by: Jameson Nash <[email protected]>
1 parent ee72a2b commit 98bd221

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/compiler/tfuncs.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -922,7 +922,7 @@ end
922922
function setfield!_nothrow(argtypes::Vector{Any})
923923
if length(argtypes) == 4
924924
order = argtypes[4]
925-
order === Const(:non_atomic) || return false # TODO: this is assuming not atomic
925+
order === Const(:not_atomic) || return false # currently setfield!_nothrow is assuming not atomic
926926
else
927927
length(argtypes) == 3 || return false
928928
end

0 commit comments

Comments
 (0)