JuliaInterpreter treats :pop_exception, as another spelling of :leave, but this is a misunderstanding. :pop_exception operates on the stack of exceptions (i.e. an exception gets pushed on the stack when we take a catch edge), not the stack of exception handlers
|
n = lookup_var(frame, node.args[1]::SSAValue)::Int |
|
deleteat!(data.exception_frames, n+1:length(data.exception_frames)) |