-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
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
JuliaInterpreter.jl/src/interpret.jl
Lines 490 to 491 in a3cf18e
n = lookup_var(frame, node.args[1]::SSAValue)::Int | |
deleteat!(data.exception_frames, n+1:length(data.exception_frames)) |
Metadata
Metadata
Assignees
Labels
No labels