Skip to content

Commit b057832

Browse files
authored
fix erase! call in src/gcn.jl
1 parent a063141 commit b057832

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gcn.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ function lower_throw_extra!(mod::LLVM.Module)
8787
# remove the call
8888
nargs = length(parameters(f))
8989
call_args = arguments(call)
90-
erase!(LLVM.parent(call), call)
90+
erase!(call)
9191

9292
# HACK: kill the exceptions' unused arguments
9393
for arg in call_args

0 commit comments

Comments
 (0)