Skip to content

Commit

Permalink
unsafe pop fix
Browse files Browse the repository at this point in the history
  • Loading branch information
GiggleLiu committed Apr 20, 2021
1 parent 7df1f20 commit 6398472
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stack.jl
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ end
@inline function COPYPOP!(stack, x)
y = pop!(stack)
NiLangCore.deanc(x, y)
stack, x
stack, y
end

UNSAFE_COPYPUSH!(args...) = COPYPUSH!(args...)
Expand Down

0 comments on commit 6398472

Please sign in to comment.