Skip to content

Commit 5f76f86

Browse files
committed
fix
1 parent a9c335b commit 5f76f86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3110,7 +3110,7 @@ function create_abi_wrapper(
31103110
# 3 is index of shadow
31113111
if existed[3] != 0 &&
31123112
sret_union &&
3113-
active_reg(pactualRetType, world; justActive=true, UnionSret=true)
3113+
active_reg(pactualRetType, world; justActive=true, UnionSret=true) == ActiveState
31143114
rewrite_union_returns_as_ref(enzymefn, data[3], world, width)
31153115
end
31163116
returnNum = 0

0 commit comments

Comments
 (0)